CloneSet1603


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.991statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1121450
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
2121472
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
Clone Instance
1
Line Count
12
Source Line
1450
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                if (node instanceof org.eclipse.jdt.internal.compiler.ast.FieldDeclaration) {
                        org.eclipse.jdt.internal.compiler.ast.FieldDeclaration fieldDeclaration = (org.eclipse.jdt.internal.compiler.ast.FieldDeclaration) node;
                        IVariableBinding variableBinding = this.getVariableBinding(fieldDeclaration.binding);
                        if (variableBinding == null) {
                                return null;
                        }
                        this.bindingsToAstNodes.put(variableBinding, enumConstant);
                        String key = variableBinding.getKey();
                        if (key != null) {
                                this.bindingTables.bindingKeysToBindings.put(key, variableBinding);
                        }
                        return variableBinding;
                }


Clone Instance
2
Line Count
12
Source Line
1472
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                        if (abstractVariableDeclaration instanceof org.eclipse.jdt.internal.compiler.ast.FieldDeclaration) {
                                org.eclipse.jdt.internal.compiler.ast.FieldDeclaration fieldDeclaration = (org.eclipse.jdt.internal.compiler.ast.FieldDeclaration) abstractVariableDeclaration;
                                IVariableBinding variableBinding = this.getVariableBinding(fieldDeclaration.binding);
                                if (variableBinding == null) {
                                        return null;
                                }
                                this.bindingsToAstNodes.put(variableBinding, variable);
                                String key = variableBinding.getKey();
                                if (key != null) {
                                        this.bindingTables.bindingKeysToBindings.put(key, variableBinding);
                                }
                                return variableBinding;
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable5239cb00]]instanceof org.eclipse.jdt.internal.compiler.ast.FieldDeclaration) {
  org.eclipse.jdt.internal.compiler.ast.FieldDeclaration fieldDeclaration = (org.eclipse.jdt.internal.compiler.ast.FieldDeclaration)  [[#variable5239cb00]];
  IVariableBinding variableBinding = this.getVariableBinding(fieldDeclaration.binding);
  if (variableBinding == null) {
    return null;
  }
  this.bindingsToAstNodes.put(variableBinding,  [[#variable5239ca80]]);
  String key = variableBinding.getKey();
  if (key != null) {
    this.bindingTables.bindingKeysToBindings.put(key, variableBinding);
  }
  return variableBinding;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5239cb00]]
abstractVariableDeclaration 
12[[#5239cb00]]
node 
21[[#5239ca80]]
variable 
22[[#5239ca80]]
enumConstant