Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.978 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 440 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java |
2 | 9 | 466 | 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; } |
| ||||
/** * @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; } |
| |||
/** * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58075920]] | getAllSuperInterfaces |
1 | 2 | [[#58075920]] | getAllSupertypes |
2 | 1 | [[#58075880]] | getAllSuperInterfaces0 |
2 | 2 | [[#58075880]] | getAllSupertypes0 |
3 | 1 | [[#58075800]] | superinterfaces |
3 | 2 | [[#58075800]] | supertypes |