Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 2 | 1 | 0.967 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 55 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMethodElementInfo.java |
2 | 27 | 254 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceTypeElementInfo.java |
| ||||
public char[][][] getTypeParameterBounds() { int length = this.typeParameters.length; char[][][] typeParameterBounds = new char[length][][]; for (int i = 0; i < length; i++) { try { TypeParameterElementInfo info = (TypeParameterElementInfo) ((JavaElement) this.typeParameters[i]).getElementInfo(); typeParameterBounds[i] = info.bounds; } catch (JavaModelException e) { // type parameter does not exist: ignore } } return typeParameterBounds; } public char[][] getTypeParameterNames() { int length = this.typeParameters.length; if (length == 0) return CharOperation.NO_CHAR_CHAR; char[][] typeParameterNames = new char[length][]; for (int i = 0; i < length; i++) { typeParameterNames[i] = this.typeParameters[i].getElementName().toCharArray(); } return typeParameterNames; } public abstract boolean isConstructor(); |
| ||||
public char[][][] getTypeParameterBounds() { int length = this.typeParameters.length; char[][][] typeParameterBounds = new char[length][][]; for (int i = 0; i < length; i++) { try { TypeParameterElementInfo info = (TypeParameterElementInfo) ((JavaElement) this.typeParameters[i]).getElementInfo(); typeParameterBounds[i] = info.bounds; } catch (JavaModelException e) { // type parameter does not exist: ignore } } return typeParameterBounds; } public char[][] getTypeParameterNames() { int length = this.typeParameters.length; if (length == 0) return CharOperation.NO_CHAR_CHAR; char[][] typeParameterNames = new char[length][]; for (int i = 0; i < length; i++) { typeParameterNames[i] = this.typeParameters[i].getElementName().toCharArray(); } return typeParameterNames; } /** * @see ISourceType */ public boolean isBinaryType() { return false; } |
| |||
public char[][][] getTypeParameterBounds() { int length = this.typeParameters.length; char[][][] typeParameterBounds = new char[length][][]; for (int i = 0; i < length; i++) { try { TypeParameterElementInfo info = (TypeParameterElementInfo) ((JavaElement) this.typeParameters[i]).getElementInfo(); typeParameterBounds[i] = info.bounds; } catch (JavaModelException e) { // type parameter does not exist: ignore } } return typeParameterBounds; } public char[][] getTypeParameterNames() { int length = this.typeParameters.length; if (length == 0) return CharOperation.NO_CHAR_CHAR; char[][] typeParameterNames = new char[length][]; for (int i = 0; i < length; i++) { typeParameterNames[i] = this.typeParameters[i].getElementName().toCharArray(); } return typeParameterNames; } [[#variable95e69700]] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95e69700]] | public abstract boolean isConstructor(); |
1 | 2 | [[#95e69700]] | /** * @see ISourceType */ public boolean isBinaryType() { return false; } |