| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 14 | 4 | 1 | 0.989 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 14 | 139 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LocalTypeBinding.java |
| 2 | 14 | 167 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LocalTypeBinding.java |
| 3 | 14 | 1109 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java |
| 4 | 14 | 1143 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java |
| ||||
TypeVariableBinding[] typeVars;
if ((typeVars = this.typeVariables()) != Binding.NO_TYPE_VARIABLES) {
StringBuffer nameBuffer = new StringBuffer(10);
nameBuffer.append(readableName).append('<');
for (int i = 0, length = typeVars.length; i < length; i++) {
if (i > 0) nameBuffer.append(',');
nameBuffer.append(typeVars[i].readableName());
}
nameBuffer.append('>');
int nameLength = nameBuffer.length();
readableName = new char[nameLength];
nameBuffer.getChars(0, nameLength, readableName, 0);
}
return readableName;
|
| ||||
TypeVariableBinding[] typeVars;
if ((typeVars = this.typeVariables()) != Binding.NO_TYPE_VARIABLES) {
StringBuffer nameBuffer = new StringBuffer(10);
nameBuffer.append(shortReadableName).append('<');
for (int i = 0, length = typeVars.length; i < length; i++) {
if (i > 0) nameBuffer.append(',');
nameBuffer.append(typeVars[i].shortReadableName());
}
nameBuffer.append('>');
int nameLength = nameBuffer.length();
shortReadableName = new char[nameLength];
nameBuffer.getChars(0, nameLength, shortReadableName, 0);
}
return shortReadableName;
|
| ||||
TypeVariableBinding[] typeVars;
if ((typeVars = this.typeVariables()) != Binding.NO_TYPE_VARIABLES) {
StringBuffer nameBuffer = new StringBuffer(10);
nameBuffer.append(readableName).append('<');
for (int i = 0, length = typeVars.length; i < length; i++) {
if (i > 0) nameBuffer.append(',');
nameBuffer.append(typeVars[i].readableName());
}
nameBuffer.append('>');
int nameLength = nameBuffer.length();
readableName = new char[nameLength];
nameBuffer.getChars(0, nameLength, readableName, 0);
}
return readableName;
|
| ||||
TypeVariableBinding[] typeVars;
if ((typeVars = this.typeVariables()) != Binding.NO_TYPE_VARIABLES) {
StringBuffer nameBuffer = new StringBuffer(10);
nameBuffer.append(shortReadableName).append('<');
for (int i = 0, length = typeVars.length; i < length; i++) {
if (i > 0) nameBuffer.append(',');
nameBuffer.append(typeVars[i].shortReadableName());
}
nameBuffer.append('>');
int nameLength = nameBuffer.length();
shortReadableName = new char[nameLength];
nameBuffer.getChars(0, nameLength, shortReadableName, 0);
}
return shortReadableName;
|
| |||
TypeVariableBinding[] typeVars;
if ((typeVars = this.typeVariables()) != Binding.NO_TYPE_VARIABLES) {
StringBuffer nameBuffer = new StringBuffer(10);
nameBuffer.append( [[#variableb4c79720]]).append('<');
for (int i = 0, length = typeVars.length; i < length; i++) {
if (i > 0)
nameBuffer.append(',');
nameBuffer.append(typeVars[i]. [[#variableb4c79720]]());
}
nameBuffer.append('>');
int nameLength = nameBuffer.length();
[[#variableb4c79720]]= new char[nameLength];
nameBuffer.getChars(0, nameLength, [[#variableb4c79720]], 0);
}
return [[#variableb4c79720]];
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b4c79720]] | readableName |
| 1 | 2 | [[#b4c79720]] | shortReadableName |
| 1 | 3 | [[#b4c79720]] | readableName |
| 1 | 4 | [[#b4c79720]] | shortReadableName |