CloneSet1129


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8420.955executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18307
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
28328
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
38978
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
481127
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
Clone Instance
1
Line Count
8
Source Line
307
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                                                                  {
                                        IVariableBinding binding = (IVariableBinding) this.bindingTables.compilerBindingsToASTBindings.get(variableBinding);
                                        if (binding != null) {
                                                return binding;
                                        }
                                        binding = new VariableBinding(this, variableBinding);
                                        this.bindingTables.compilerBindingsToASTBindings.put(variableBinding, binding);
                                        return binding;
                                                                  }


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

                                                                                  {
                                                                IVariableBinding variableBinding2 = (IVariableBinding) this.bindingTables.compilerBindingsToASTBindings.get(exactBinding);
                                                                if (variableBinding2 != null) {
                                                                        return variableBinding2;
                                                                }
                                                                variableBinding2 = new VariableBinding(this, exactBinding);
                                                                this.bindingTables.compilerBindingsToASTBindings.put(exactBinding, variableBinding2);
                                                                return variableBinding2;
                                                                                  }


Clone Instance
3
Line Count
8
Source Line
978
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                                                                                                                       {
                                                                                                IVariableBinding variableBinding = (IVariableBinding) this.bindingTables.compilerBindingsToASTBindings.get(exactBinding);
                                                                                                if (variableBinding != null) {
                                                                                                        return variableBinding;
                                                                                                }
                                                                                                variableBinding = new VariableBinding(this, exactBinding);
                                                                                                this.bindingTables.compilerBindingsToASTBindings.put(exactBinding, variableBinding);
                                                                                                return variableBinding;
                                                                                                                       }


Clone Instance
4
Line Count
8
Source Line
1127
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                                                                                                               {
                                                                                        IVariableBinding variableBinding2 = (IVariableBinding) this.bindingTables.compilerBindingsToASTBindings.get(exactBinding);
                                                                                        if (variableBinding2 != null) {
                                                                                                return variableBinding2;
                                                                                        }
                                                                                        variableBinding2 = new VariableBinding(this, exactBinding);
                                                                                        this.bindingTables.compilerBindingsToASTBindings.put(exactBinding, variableBinding2);
                                                                                        return variableBinding2;
                                                                                                               }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  IVariableBinding  [[#variableb82bfb20]]= (IVariableBinding) this.bindingTables.compilerBindingsToASTBindings.get( [[#variableb82bfaa0]]);
  if ( [[#variableb82bfb20]]!= null) {
    return [[#variableb82bfb20]];
  }
   [[#variableb82bfb20]]= new VariableBinding(this,  [[#variableb82bfaa0]]);
  this.bindingTables.compilerBindingsToASTBindings.put( [[#variableb82bfaa0]],  [[#variableb82bfb20]]);
  return [[#variableb82bfb20]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b82bfb20]]
variableBinding2 
12[[#b82bfb20]]
binding 
13[[#b82bfb20]]
variableBinding 
14[[#b82bfb20]]
variableBinding2 
21[[#b82bfaa0]]
exactBinding 
22[[#b82bfaa0]]
variableBinding 
23[[#b82bfaa0]]
exactBinding 
24[[#b82bfaa0]]
exactBinding