CloneSet2102


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14240.959statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114530
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java
214660
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java
Clone Instance
1
Line Count
14
Source Line
530
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java

                while (interfaces.hasNext()) {
                        inter = (InterfaceTypeImpl) interfaces.next();
                        addVisibleMethods(inter.visibleMethods(), namesAndSignatures, visibleMethods);
                }

                // If it is a class, all methods of it's superclass.
                if (this instanceof ClassType) {
                        ClassType superclass = ((ClassType) this ).superclass();
                        if (superclass != null)
                                addVisibleMethods(superclass.visibleMethods(), namesAndSignatures, visibleMethods);
                }

                fVisibleMethods = visibleMethods;
                return fVisibleMethods;


Clone Instance
2
Line Count
14
Source Line
660
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java

                while (interfaces.hasNext()) {
                        inter = (InterfaceTypeImpl) interfaces.next();
                        addVisibleFields(inter.visibleFields(), fieldNames, visibleFields);
                }

                // If it is a class, all fields of it's superclass.
                if (this instanceof ClassType) {
                        ClassType superclass = ((ClassType) this ).superclass();
                        if (superclass != null)
                                addVisibleFields(superclass.visibleFields(), fieldNames, visibleFields);
                }

                fVisibleFields = visibleFields;
                return fVisibleFields;


Clone AbstractionParameter Count: 4Parameter Bindings

while (interfaces.hasNext()) {
  inter = (InterfaceTypeImpl) interfaces.next();
   [[#variable5a2e7e60]](inter. [[#variable9b243e40]](),  [[#variable93b57da0]],  [[#variable9b243e40]]);
}
// If it is a class, all methods of it's superclass.
// If it is a class, all fields of it's superclass.
if (this instanceof ClassType) {
  ClassType superclass = ((ClassType) this ).superclass();
  if (superclass != null)
     [[#variable5a2e7e60]](superclass. [[#variable9b243e40]](),  [[#variable93b57da0]],  [[#variable9b243e40]]);
}
 [[#variable5a34c300]]= [[#variable9b243e40]];
return [[#variable5a34c300]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a2e7e60]]
addVisibleMethods 
12[[#5a2e7e60]]
addVisibleFields 
21[[#9b243e40]]
visibleMethods 
22[[#9b243e40]]
visibleFields 
31[[#93b57da0]]
namesAndSignatures 
32[[#93b57da0]]
fieldNames 
41[[#5a34c300]]
fVisibleMethods 
42[[#5a34c300]]
fVisibleFields