| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 8 | 2 | 0.968 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 143 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| 2 | 4 | 148 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| 3 | 4 | 153 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| 4 | 4 | 158 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| 5 | 4 | 163 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| 6 | 4 | 168 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| 7 | 4 | 173 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| 8 | 4 | 178 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java |
| ||||
public boolean visit(SingleNameReference singleNameReference, BlockScope blockScope) {
if (checkType(singleNameReference.resolvedType))
return false;
return super.visit(singleNameReference, blockScope);
}
|
| ||||
public boolean visit(QualifiedNameReference qualifiedNameReference, BlockScope blockScope) {
if (checkType(qualifiedNameReference.resolvedType))
return false;
return super.visit(qualifiedNameReference, blockScope);
}
|
| ||||
public boolean visit(MessageSend messageSend, BlockScope blockScope) {
if (checkType(messageSend.resolvedType))
return false;
return super.visit(messageSend, blockScope);
}
|
| ||||
public boolean visit(FieldReference fieldReference, BlockScope blockScope) {
if (checkType(fieldReference.resolvedType))
return false;
return super.visit(fieldReference, blockScope);
}
|
| ||||
public boolean visit(ConditionalExpression conditionalExpression, BlockScope blockScope) {
if (checkType(conditionalExpression.resolvedType))
return false;
return super.visit(conditionalExpression, blockScope);
}
|
| ||||
public boolean visit(CastExpression castExpression, BlockScope blockScope) {
if (checkType(castExpression.resolvedType))
return false;
return super.visit(castExpression, blockScope);
}
|
| ||||
public boolean visit(Assignment assignment, BlockScope blockScope) {
if (checkType(assignment.resolvedType))
return false;
return super.visit(assignment, blockScope);
}
|
| ||||
public boolean visit(ArrayReference arrayReference, BlockScope blockScope) {
if (checkType(arrayReference.resolvedType))
return false;
return super.visit(arrayReference, blockScope);
}
|
| |||
public boolean visit( [[#variable644e0520]] [[#variable644e0480]], BlockScope blockScope) {
if (checkType( [[#variable644e0480]].resolvedType))
return false;
return super.visit( [[#variable644e0480]], blockScope);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#644e0520]] | SingleNameReference |
| 1 | 2 | [[#644e0520]] | QualifiedNameReference |
| 1 | 3 | [[#644e0520]] | MessageSend |
| 1 | 4 | [[#644e0520]] | FieldReference |
| 1 | 5 | [[#644e0520]] | ConditionalExpression |
| 1 | 6 | [[#644e0520]] | CastExpression |
| 1 | 7 | [[#644e0520]] | Assignment |
| 1 | 8 | [[#644e0520]] | ArrayReference |
| 2 | 1 | [[#644e0480]] | singleNameReference |
| 2 | 2 | [[#644e0480]] | qualifiedNameReference |
| 2 | 3 | [[#644e0480]] | messageSend |
| 2 | 4 | [[#644e0480]] | fieldReference |
| 2 | 5 | [[#644e0480]] | conditionalExpression |
| 2 | 6 | [[#644e0480]] | castExpression |
| 2 | 7 | [[#644e0480]] | assignment |
| 2 | 8 | [[#644e0480]] | arrayReference |