CloneSet4367


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.956statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1753
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/ArraySuperTypeSet.java
27150
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java
Clone Instance
1
Line Count
7
Source Line
53
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/ArraySuperTypeSet.java

                for (Iterator iter = fElemTypeSet.iterator(); iter.hasNext();) {
                        TType elemType = (TType) iter.next();

                        if (TTypes.canAssignTo(elemType, atElemType))
                                return true;
                }
                return false;


Clone Instance
2
Line Count
7
Source Line
150
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java

                // Find the "lower frontier", i.e. the lower bound, and see whether
                // the given type is a supertype of any of those.
                for (Iterator lbIter = fLowerBounds
                                                    /*.lowerBound() */
                                                                      .iterator(); lbIter.hasNext();) {
                        TType lb = (TType) lbIter.next();

                        if (TTypes.canAssignTo(lb, t))
                                return true;
                }
                return false;


Clone AbstractionParameter Count: 4Parameter Bindings

// Find the "lower frontier", i.e. the lower bound, and see whether
// the given type is a supertype of any of those.
for (Iterator  [[#variablea14e19c0]]= [[#variablea14e1940]]
                                     /*.lowerBound() */
                                     .iterator(); [[#variablea14e19c0]].hasNext();) {
  TType  [[#variablea14e10e0]]= (TType)  [[#variablea14e19c0]].next();
  if (TTypes.canAssignTo( [[#variablea14e10e0]],  [[#variablea14e1880]]))
    return true;
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a14e19c0]]
lbIter 
12[[#a14e19c0]]
iter 
21[[#a14e1940]]
fLowerBounds 
22[[#a14e1940]]
fElemTypeSet 
31[[#a14e10e0]]
lb 
32[[#a14e10e0]]
elemType 
41[[#a14e1880]]
t 
42[[#a14e1880]]
atElemType