Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.977 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 44 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeNamesCollector.java |
2 | 5 | 50 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeNamesCollector.java |
3 | 5 | 56 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/SuperTypeNamesCollector.java |
| ||||
public boolean visit(TypeDeclaration typeDeclaration, BlockScope scope) { ReferenceBinding binding = typeDeclaration.binding; if (SuperTypeNamesCollector.this.matches(binding)) SuperTypeNamesCollector.this.collectSuperTypeNames(binding); return true; } |
| ||||
public boolean visit(TypeDeclaration typeDeclaration, CompilationUnitScope scope) { ReferenceBinding binding = typeDeclaration.binding; if (SuperTypeNamesCollector.this.matches(binding)) SuperTypeNamesCollector.this.collectSuperTypeNames(binding); return true; } |
| ||||
public boolean visit(TypeDeclaration memberTypeDeclaration, ClassScope scope) { ReferenceBinding binding = memberTypeDeclaration.binding; if (SuperTypeNamesCollector.this.matches(binding)) SuperTypeNamesCollector.this.collectSuperTypeNames(binding); return true; } |
| |||
public boolean visit(TypeDeclaration [[#variable641dacc0]], [[#variable641dab20]] scope) { ReferenceBinding binding = [[#variable641dacc0]].binding; if (SuperTypeNamesCollector.this.matches(binding)) SuperTypeNamesCollector.this.collectSuperTypeNames(binding); return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#641dacc0]] | typeDeclaration |
1 | 2 | [[#641dacc0]] | typeDeclaration |
1 | 3 | [[#641dacc0]] | memberTypeDeclaration |
2 | 1 | [[#641dab20]] | BlockScope |
2 | 2 | [[#641dab20]] | CompilationUnitScope |
2 | 3 | [[#641dab20]] | ClassScope |