CloneSet1410


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9440.955block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19555
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
29569
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
39694
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
49707
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
Clone Instance
1
Line Count
9
Source Line
555
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                                                                            {
                Object oldNode = this.newAstToOldAst.get(fieldAccess);
                if (oldNode instanceof FieldReference) {
                        FieldReference fieldReference = (FieldReference) oldNode;
                        if (fieldReference != null) {
                                return this.getVariableBinding(fieldReference.binding);
                        }
                }
                return null;
                                                                            }


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

                                                                                 {
                Object oldNode = this.newAstToOldAst.get(fieldAccess);
                if (oldNode instanceof FieldReference) {
                        FieldReference fieldReference = (FieldReference) oldNode;
                        if (fieldReference != null) {
                                return this.getVariableBinding(fieldReference.binding);
                        }
                }
                return null;
                                                                                 }


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

                                                                           {
                Object oldNode = this.newAstToOldAst.get(method);
                if (oldNode instanceof MessageSend) {
                        MessageSend messageSend = (MessageSend) oldNode;
                        if (messageSend != null) {
                                return this.getMethodBinding(messageSend.binding);
                        }
                }
                return null;
                                                                           }


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

                                                                                {
                Object oldNode = this.newAstToOldAst.get(method);
                if (oldNode instanceof MessageSend) {
                        MessageSend messageSend = (MessageSend) oldNode;
                        if (messageSend != null) {
                                return this.getMethodBinding(messageSend.binding);
                        }
                }
                return null;
                                                                                }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  Object oldNode = this.newAstToOldAst.get( [[#variable64b9b300]]);
  if (oldNode instanceof [[#variable64b9b280]]) {
     [[#variable64b9b280]]  [[#variablebd6fa180]]= ( [[#variable64b9b280]]) oldNode;
    if ( [[#variablebd6fa180]]!= null) {
      return this. [[#variable64b9b220]]( [[#variablebd6fa180]].binding);
    }
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64b9b300]]
fieldAccess 
12[[#64b9b300]]
method 
13[[#64b9b300]]
method 
14[[#64b9b300]]
fieldAccess 
21[[#64b9b280]]
FieldReference 
22[[#64b9b280]]
MessageSend 
23[[#64b9b280]]
MessageSend 
24[[#64b9b280]]
FieldReference 
31[[#bd6fa180]]
fieldReference 
32[[#bd6fa180]]
messageSend 
33[[#bd6fa180]]
messageSend 
34[[#bd6fa180]]
fieldReference 
41[[#64b9b220]]
getVariableBinding 
42[[#64b9b220]]
getMethodBinding 
43[[#64b9b220]]
getMethodBinding 
44[[#64b9b220]]
getVariableBinding