CloneSet1636


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7430.981statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16171
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java
27179
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java
36161
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesOfSingleton.java
47172
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesOfSingleton.java
Clone Instance
1
Line Count
6
Source Line
171
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java

                        for (Iterator iter = otherUpperBounds.iterator(); iter.hasNext();) {
                                TType t = (TType) iter.next();
                                if ( ! TTypes.canAssignTo(t, fUpperBound))
                                        return false;
                        }
                        return true;


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

                // For now, no more tricks up my sleeve; get an iterator
                for (Iterator iter = other.iterator(); iter.hasNext();) {
                        TType t = (TType) iter.next();

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


Clone Instance
3
Line Count
6
Source Line
161
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesOfSingleton.java

                        for (Iterator iter = otherLowerBounds.iterator(); iter.hasNext();) {
                                TType t = (TType) iter.next();
                                if ( ! TTypes.canAssignTo(fLowerBound, t))
                                        return false;
                        }
                        return true;


Clone Instance
4
Line Count
7
Source Line
172
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesOfSingleton.java

                // For now, no more tricks up my sleeve; get an iterator
                for (Iterator iter = other.iterator(); iter.hasNext();) {
                        TType t = (TType) iter.next();

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


Clone AbstractionParameter Count: 3Parameter Bindings

// For now, no more tricks up my sleeve; get an iterator
for (Iterator iter = [[#variable91b84180]].iterator(); iter.hasNext();) {
  TType t = (TType) iter.next();
  if ( !TTypes.canAssignTo( [[#variable52964fe0]],  [[#variable91b84160]]))
    return false;
}
return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#91b84180]]
other 
12[[#91b84180]]
otherUpperBounds 
13[[#91b84180]]
other 
14[[#91b84180]]
otherLowerBounds 
21[[#52964fe0]]
t 
22[[#52964fe0]]
t 
23[[#52964fe0]]
fLowerBound 
24[[#52964fe0]]
fLowerBound 
31[[#91b84160]]
fUpperBound 
32[[#91b84160]]
fUpperBound 
33[[#91b84160]]
t 
34[[#91b84160]]
t