CloneSet2652


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.978class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19440
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java
29466
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java
Clone Instance
1
Line Count
9
Source Line
440
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java

/**
 * @see ITypeHierarchy
 */
public IType[] getAllSuperInterfaces(IType type) {
        ArrayList supers = new ArrayList();
        if (this.typeToSuperInterfaces.get(type) == null) {
                return NO_TYPE;
        }
        getAllSuperInterfaces0(type, supers);
        IType[] superinterfaces = new IType[supers.size()];
        supers.toArray(superinterfaces);
        return superinterfaces;
}


Clone Instance
2
Line Count
9
Source Line
466
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java

/**
 * @see ITypeHierarchy
 */
public IType[] getAllSupertypes(IType type) {
        ArrayList supers = new ArrayList();
        if (this.typeToSuperInterfaces.get(type) == null) {
                return NO_TYPE;
        }
        getAllSupertypes0(type, supers);
        IType[] supertypes = new IType[supers.size()];
        supers.toArray(supertypes);
        return supertypes;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * @see ITypeHierarchy
 */
public IType[]  [[#variable58075920]](IType type) {
  ArrayList supers = new ArrayList();
  if (this.typeToSuperInterfaces.get(type) == null) {
    return NO_TYPE;
  }
   [[#variable58075880]](type, supers);
  IType[]  [[#variable58075800]]= new IType[supers.size()];
  supers.toArray( [[#variable58075800]]);
  return [[#variable58075800]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58075920]]
getAllSuperInterfaces 
12[[#58075920]]
getAllSupertypes 
21[[#58075880]]
getAllSuperInterfaces0 
22[[#58075880]]
getAllSupertypes0 
31[[#58075800]]
superinterfaces 
32[[#58075800]]
supertypes