| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 3 | 1 | 0.984 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 95 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnJavadocFieldReference.java |
| 2 | 6 | 44 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocFieldReference.java |
| 3 | 6 | 44 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java |
| ||||
// Resolve only receiver
if (this.receiver == null) {
this.receiverType = scope.enclosingSourceType();
}
else if (scope.kind == Scope.CLASS_SCOPE) {
this.receiverType = this.receiver.resolveType((ClassScope) scope);
}
else {
this.receiverType = this.receiver.resolveType((BlockScope) scope);
}
|
| ||||
if (this.receiver == null) {
this.receiverType = scope.enclosingSourceType();
}
else if (scope.kind == Scope.CLASS_SCOPE) {
this.receiverType = this.receiver.resolveType((ClassScope) scope);
}
else {
this.receiverType = this.receiver.resolveType((BlockScope) scope);
}
|
| ||||
if (this.receiver == null) {
this.actualReceiverType = scope.enclosingSourceType();
}
else if (scope.kind == Scope.CLASS_SCOPE) {
this.actualReceiverType = this.receiver.resolveType((ClassScope) scope);
}
else {
this.actualReceiverType = this.receiver.resolveType((BlockScope) scope);
}
|
| |||
// Resolve only receiver
if (this.receiver == null) {
this. [[#variablebae55b40]]= scope.enclosingSourceType();
}
else
if (scope.kind == Scope.CLASS_SCOPE) {
this. [[#variablebae55b40]]= this.receiver.resolveType((ClassScope) scope);
}
else {
this. [[#variablebae55b40]]= this.receiver.resolveType((BlockScope) scope);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bae55b40]] | receiverType |
| 1 | 2 | [[#bae55b40]] | actualReceiverType |
| 1 | 3 | [[#bae55b40]] | receiverType |