Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.974 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 651 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java |
2 | 6 | 661 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java |
| ||||
void recordSuperTypeReference(TypeBinding type) { if (referencedSuperTypes == null) return; // not recording dependencies ReferenceBinding actualType = typeToRecord(type); if (actualType != null && !referencedSuperTypes.containsIdentical(actualType)) referencedSuperTypes.add(actualType); } |
| ||||
void recordTypeReference(TypeBinding type) { if (referencedTypes == null) return; // not recording dependencies ReferenceBinding actualType = typeToRecord(type); if (actualType != null && !referencedTypes.containsIdentical(actualType)) referencedTypes.add(actualType); } |
| |||
void [[#variable5a5d2a20]](TypeBinding type) { if ( [[#variable5a5d29c0]]== null) return; // not recording dependencies ReferenceBinding actualType = typeToRecord(type); if (actualType != null && ! [[#variable5a5d29c0]].containsIdentical(actualType)) [[#variable5a5d29c0]].add(actualType); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a5d2a20]] | recordSuperTypeReference |
1 | 2 | [[#5a5d2a20]] | recordTypeReference |
2 | 1 | [[#5a5d29c0]] | referencedSuperTypes |
2 | 2 | [[#5a5d29c0]] | referencedTypes |