CloneSet4598


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16651
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java
26661
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java
Clone Instance
1
Line Count
6
Source Line
651
Source File
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);
}


Clone Instance
2
Line Count
6
Source Line
661
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/CompilationUnitScope.java

void recordTypeReference(TypeBinding type) {
        if (referencedTypes == null) return; // not recording dependencies

        ReferenceBinding actualType = typeToRecord(type);
        if (actualType != null && !referencedTypes.containsIdentical(actualType))
                referencedTypes.add(actualType);
}


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a5d2a20]]
recordSuperTypeReference 
12[[#5a5d2a20]]
recordTypeReference 
21[[#5a5d29c0]]
referencedSuperTypes 
22[[#5a5d29c0]]
referencedTypes