| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 14 | 2 | 0 | 1.000 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 14 | 1071 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java |
| 2 | 14 | 79 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java |
| ||||
// For debugging
static String print(Collection
/*<ITypeBinding>*/
types) {
if (types.isEmpty())
return "{ }"; //$NON-NLS-1$
String result = "{ "; //$NON-NLS-1$
for (Iterator it = types.iterator(); it.hasNext();) {
ITypeBinding type = (ITypeBinding) it.next();
result += type.getQualifiedName();
if (it.hasNext()) {
result += ", "; //$NON-NLS-1$
}
else {
result += " }"; //$NON-NLS-1$
}
}
return result;
}
|
| ||||
// For debugging
static String print(Collection
/*<ITypeBinding>*/
types) {
if (types.isEmpty())
return "{ }"; //$NON-NLS-1$
String result = "{ "; //$NON-NLS-1$
for (Iterator it = types.iterator(); it.hasNext();) {
ITypeBinding type = (ITypeBinding) it.next();
result += type.getQualifiedName();
if (it.hasNext()) {
result += ", "; //$NON-NLS-1$
}
else {
result += " }"; //$NON-NLS-1$
}
}
return result;
}
|
| |||
// For debugging
static String print(Collection
/*<ITypeBinding>*/
types) {
if (types.isEmpty())
return "{ }"; //$NON-NLS-1$
String result = "{ "; //$NON-NLS-1$
for (Iterator it = types.iterator(); it.hasNext();) {
ITypeBinding type = (ITypeBinding) it.next();
result += type.getQualifiedName();
if (it.hasNext()) {
result += ", "; //$NON-NLS-1$
}
else {
result += " }"; //$NON-NLS-1$
}
}
return result;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||