| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 4 | 3 | 0.953 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 965 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| 2 | 5 | 971 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| 3 | 5 | 995 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| 4 | 5 | 1001 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java |
| ||||
public boolean visit(TypeDeclaration localTypeDeclaration, BlockScope scope) {
if (localTypeDeclaration.name == assistIdentifier) {
throw new SelectionNodeFound(localTypeDeclaration.binding);
}
return true;
}
|
| ||||
public boolean visit(TypeDeclaration memberTypeDeclaration, ClassScope scope) {
if (memberTypeDeclaration.name == assistIdentifier) {
throw new SelectionNodeFound(memberTypeDeclaration.binding);
}
return true;
}
|
| ||||
public boolean visit(TypeParameter typeParameter, BlockScope scope) {
if (typeParameter.name == assistIdentifier) {
throw new SelectionNodeFound(typeParameter.binding);
}
return true;
}
|
| ||||
public boolean visit(TypeParameter typeParameter, ClassScope scope) {
if (typeParameter.name == assistIdentifier) {
throw new SelectionNodeFound(typeParameter.binding);
}
return true;
}
|
| |||
public boolean visit( [[#variableba631f40]] [[#variableba630940]], [[#variableba631fc0]] scope) {
if ( [[#variableba630940]].name == assistIdentifier) {
throw new SelectionNodeFound( [[#variableba630940]].binding);
}
return true;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#ba631f40]] | TypeParameter |
| 1 | 2 | [[#ba631f40]] | TypeDeclaration |
| 1 | 3 | [[#ba631f40]] | TypeDeclaration |
| 1 | 4 | [[#ba631f40]] | TypeParameter |
| 2 | 1 | [[#ba630940]] | typeParameter |
| 2 | 2 | [[#ba630940]] | localTypeDeclaration |
| 2 | 3 | [[#ba630940]] | memberTypeDeclaration |
| 2 | 4 | [[#ba630940]] | typeParameter |
| 3 | 1 | [[#ba631fc0]] | ClassScope |
| 3 | 2 | [[#ba631fc0]] | BlockScope |
| 3 | 3 | [[#ba631fc0]] | ClassScope |
| 3 | 4 | [[#ba631fc0]] | BlockScope |