CloneSet1665


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4440.968statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14481
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java
24773
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java
34133
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java
44165
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java
Clone Instance
1
Line Count
4
Source Line
481
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java

                for (int i = 0; i < interfaces.length; i++) {
                        IMethodBinding res = findOverriddenMethodInHierarchy(interfaces[i], overriding);
                        if (res != null) {
                                return res; // methods from interfaces are always public and therefore visible
                        }
                }


Clone Instance
2
Line Count
4
Source Line
773
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java

                for (int i = 0; i < superInterfaces.length; i++) {
                        ITypeBinding res = findTypeInHierarchy(superInterfaces[i], fullyQualifiedTypeName);
                        if (res != null) {
                                return res;
                        }
                }


Clone Instance
3
Line Count
4
Source Line
133
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java

                        for (int i = 0; i < interfaces.length; i++) {
                                IMethod res = findOverriddenMethodInHierarchy(interfaces[i], overriding);
                                if (res != null) {
                                        return res; // methods from interfaces are always public and therefore visible
                                }
                        }


Clone Instance
4
Line Count
4
Source Line
165
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java

                        for (int i = 0; i < superInterfaces.length; i++) {
                                IMethod res = findOverriddenMethodInHierarchy(superInterfaces[i], overriding);
                                if (res != null) {
                                        return res;
                                }
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variable993ffd80]].length; i++) {
   [[#variable993ffd20]] res = [[#variable993ffcc0]]( [[#variable993ffd80]][i],  [[#variable993ffc60]]);
  if (res != null) {
    return res; // methods from interfaces are always public and therefore visible
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#993ffd80]]
superInterfaces 
12[[#993ffd80]]
interfaces 
13[[#993ffd80]]
superInterfaces 
14[[#993ffd80]]
interfaces 
21[[#993ffd20]]
ITypeBinding 
22[[#993ffd20]]
IMethodBinding 
23[[#993ffd20]]
IMethod 
24[[#993ffd20]]
IMethod 
31[[#993ffcc0]]
findTypeInHierarchy 
32[[#993ffcc0]]
findOverriddenMethodInHierarchy 
33[[#993ffcc0]]
findOverriddenMethodInHierarchy 
34[[#993ffcc0]]
findOverriddenMethodInHierarchy 
41[[#993ffc60]]
fullyQualifiedTypeName 
42[[#993ffc60]]
overriding 
43[[#993ffc60]]
overriding 
44[[#993ffc60]]
overriding