| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 5 | 5 | 0.951 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 248 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| 2 | 6 | 403 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| 3 | 6 | 844 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| 4 | 6 | 892 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| 5 | 6 | 920 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| ||||
for (int i = 0; i < length; i++) {
ITypeBinding typeBinding = this.resolver.getTypeBinding(members[i]);
if (typeBinding == null) {
return NO_TYPE_BINDINGS;
}
newMembers[i] = typeBinding;
}
|
| ||||
for (int i = 0; i < length; i++) {
ITypeBinding typeBinding = this.resolver.getTypeBinding(interfaces[i]);
if (typeBinding == null) {
return NO_TYPE_BINDINGS;
}
newInterfaces[i] = typeBinding;
}
|
| ||||
for (int i = 0; i < argumentsLength; i++) {
ITypeBinding typeBinding = this.resolver.getTypeBinding(arguments[i]);
if (typeBinding == null) {
return NO_TYPE_BINDINGS;
}
typeArguments[i] = typeBinding;
}
|
| ||||
for (int i = 0; i < superinterfacesLength; i++ ,boundsIndex++) {
ITypeBinding typeBinding = this.resolver.getTypeBinding(superinterfaces[i]);
if (typeBinding == null) {
return NO_TYPE_BINDINGS;
}
typeBounds[boundsIndex] = typeBinding;
}
|
| ||||
for (int i = 0; i < typeVariableBindingsLength; i++) {
ITypeBinding typeBinding = this.resolver.getTypeBinding(typeVariableBindings[i]);
if (typeBinding == null) {
return NO_TYPE_BINDINGS;
}
typeParameters[i] = typeBinding;
}
|
| |||
for (int i = 0; i < [[#variable95b22880]]; [[#variable95b22800]]) {
ITypeBinding typeBinding = this.resolver.getTypeBinding( [[#variable95b227a0]][i]);
if (typeBinding == null) {
return NO_TYPE_BINDINGS;
}
[[#variableb5e7e280]][ [[#variable95b22840]]] = typeBinding;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#95b22880]] | length |
| 1 | 2 | [[#95b22880]] | length |
| 1 | 3 | [[#95b22880]] | argumentsLength |
| 1 | 4 | [[#95b22880]] | superinterfacesLength |
| 1 | 5 | [[#95b22880]] | typeVariableBindingsLength |
| 2 | 1 | [[#95b22800]] | i++ |
| 2 | 2 | [[#95b22800]] | i++ |
| 2 | 3 | [[#95b22800]] | i++ |
| 2 | 4 | [[#95b22800]] | i++ , boundsIndex++ |
| 2 | 5 | [[#95b22800]] | i++ |
| 3 | 1 | [[#95b227a0]] | members |
| 3 | 2 | [[#95b227a0]] | interfaces |
| 3 | 3 | [[#95b227a0]] | arguments |
| 3 | 4 | [[#95b227a0]] | superinterfaces |
| 3 | 5 | [[#95b227a0]] | typeVariableBindings |
| 4 | 1 | [[#b5e7e280]] | newMembers |
| 4 | 2 | [[#b5e7e280]] | newInterfaces |
| 4 | 3 | [[#b5e7e280]] | typeArguments |
| 4 | 4 | [[#b5e7e280]] | typeBounds |
| 4 | 5 | [[#b5e7e280]] | typeParameters |
| 5 | 1 | [[#95b22840]] | i |
| 5 | 2 | [[#95b22840]] | i |
| 5 | 3 | [[#95b22840]] | i |
| 5 | 4 | [[#95b22840]] | boundsIndex |
| 5 | 5 | [[#95b22840]] | i |