| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 7 | 5 | 0.958 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 653 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| 2 | 11 | 676 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| 3 | 11 | 1271 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| 4 | 11 | 1293 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| 5 | 11 | 1316 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| 6 | 11 | 1409 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| 7 | 11 | 1429 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| ||||
if (methodDeclaration != null) {
IMethodBinding methodBinding = this.getMethodBinding(methodDeclaration.binding);
if (methodBinding == null) {
return null;
}
this.bindingsToAstNodes.put(methodBinding, declaration);
String key = methodBinding.getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, methodBinding);
}
return methodBinding;
}
|
| ||||
if (methodDeclaration != null) {
IMethodBinding methodBinding = this.getMethodBinding(methodDeclaration.binding);
if (methodBinding == null) {
return null;
}
this.bindingsToAstNodes.put(methodBinding, method);
String key = methodBinding.getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, methodBinding);
}
return methodBinding;
}
|
| ||||
if (typeDeclaration != null) {
ITypeBinding typeBinding = this.getTypeBinding(typeDeclaration.binding);
if (typeBinding == null) {
return null;
}
this.bindingsToAstNodes.put(typeBinding, type);
String key = typeBinding.getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, typeBinding);
}
return typeBinding;
}
|
| ||||
if (anonymousLocalTypeDeclaration != null) {
ITypeBinding typeBinding = this.getTypeBinding(anonymousLocalTypeDeclaration.binding);
if (typeBinding == null) {
return null;
}
this.bindingsToAstNodes.put(typeBinding, type);
String key = typeBinding.getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, typeBinding);
}
return typeBinding;
}
|
| ||||
if (typeDeclaration != null) {
ITypeBinding typeBinding = this.getTypeBinding(typeDeclaration.binding);
if (typeBinding == null) {
return null;
}
this.bindingsToAstNodes.put(typeBinding, type);
String key = typeBinding.getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, typeBinding);
}
return typeBinding;
}
|
| ||||
if (typeDeclaration != null) {
ITypeBinding typeBinding = this.getTypeBinding(typeDeclaration.binding);
if (typeBinding == null) {
return null;
}
this.bindingsToAstNodes.put(typeBinding, type);
String key = typeBinding.getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, typeBinding);
}
return typeBinding;
}
|
| ||||
if (typeParameter2 != null) {
ITypeBinding typeBinding = this.getTypeBinding(typeParameter2.binding);
if (typeBinding == null) {
return null;
}
this.bindingsToAstNodes.put(typeBinding, typeParameter);
String key = typeBinding.getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, typeBinding);
}
return typeBinding;
}
|
| |||
if ( [[#variablebc939100]]!= null) {
[[#variablebc9390a0]] [[#variableb8ccb860]]= this. [[#variableb9f699a0]]( [[#variablebc939100]].binding);
if ( [[#variableb8ccb860]]== null) {
return null;
}
this.bindingsToAstNodes.put( [[#variableb8ccb860]], [[#variablebc938e60]]);
String key = [[#variableb8ccb860]].getKey();
if (key != null) {
this.bindingTables.bindingKeysToBindings.put(key, [[#variableb8ccb860]]);
}
return [[#variableb8ccb860]];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bc939100]] | typeDeclaration |
| 1 | 2 | [[#bc939100]] | methodDeclaration |
| 1 | 3 | [[#bc939100]] | anonymousLocalTypeDeclaration |
| 1 | 4 | [[#bc939100]] | methodDeclaration |
| 1 | 5 | [[#bc939100]] | typeParameter2 |
| 1 | 6 | [[#bc939100]] | typeDeclaration |
| 1 | 7 | [[#bc939100]] | typeDeclaration |
| 2 | 1 | [[#bc9390a0]] | ITypeBinding |
| 2 | 2 | [[#bc9390a0]] | IMethodBinding |
| 2 | 3 | [[#bc9390a0]] | ITypeBinding |
| 2 | 4 | [[#bc9390a0]] | IMethodBinding |
| 2 | 5 | [[#bc9390a0]] | ITypeBinding |
| 2 | 6 | [[#bc9390a0]] | ITypeBinding |
| 2 | 7 | [[#bc9390a0]] | ITypeBinding |
| 3 | 1 | [[#b8ccb860]] | typeBinding |
| 3 | 2 | [[#b8ccb860]] | methodBinding |
| 3 | 3 | [[#b8ccb860]] | typeBinding |
| 3 | 4 | [[#b8ccb860]] | methodBinding |
| 3 | 5 | [[#b8ccb860]] | typeBinding |
| 3 | 6 | [[#b8ccb860]] | typeBinding |
| 3 | 7 | [[#b8ccb860]] | typeBinding |
| 4 | 1 | [[#b9f699a0]] | getTypeBinding |
| 4 | 2 | [[#b9f699a0]] | getMethodBinding |
| 4 | 3 | [[#b9f699a0]] | getTypeBinding |
| 4 | 4 | [[#b9f699a0]] | getMethodBinding |
| 4 | 5 | [[#b9f699a0]] | getTypeBinding |
| 4 | 6 | [[#b9f699a0]] | getTypeBinding |
| 4 | 7 | [[#b9f699a0]] | getTypeBinding |
| 5 | 1 | [[#bc938e60]] | type |
| 5 | 2 | [[#bc938e60]] | declaration |
| 5 | 3 | [[#bc938e60]] | type |
| 5 | 4 | [[#bc938e60]] | method |
| 5 | 5 | [[#bc938e60]] | typeParameter |
| 5 | 6 | [[#bc938e60]] | type |
| 5 | 7 | [[#bc938e60]] | type |