CloneSet4694


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6250.967executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1686
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java
2689
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java
Clone Instance
1
Line Count
6
Source Line
86
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java

                                                        {
                                TType t1 = this.fUpperBounds.anyMember();
                                TType t2 = st2.uniqueUpperBound();

                                if (TTypes.canAssignTo(t2, t1))
                                        return getTypeSetEnvironment().createSubTypesOfSingleton(t2);
                                                        }


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

                                                        {
                                TType t1 = this.fLowerBounds.anyMember();
                                TType t2 = st2.uniqueLowerBound();

                                if (TTypes.canAssignTo(t1, t2))
                                        return getTypeSetEnvironment().createSuperTypesOfSingleton(t2);
                                                        }


Clone AbstractionParameter Count: 5Parameter Bindings

{
  TType t1 = this. [[#variable5ea5e8e0]].anyMember();
  TType t2 = st2. [[#variable5ea5e880]]();
  if (TTypes.canAssignTo( [[#variable5ea5e800]],  [[#variable5ea5e780]]))
    return getTypeSetEnvironment(). [[#variable5ea5e6c0]](t2);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ea5e8e0]]
fLowerBounds 
12[[#5ea5e8e0]]
fUpperBounds 
21[[#5ea5e880]]
uniqueLowerBound 
22[[#5ea5e880]]
uniqueUpperBound 
31[[#5ea5e800]]
t1 
32[[#5ea5e800]]
t2 
41[[#5ea5e780]]
t2 
42[[#5ea5e780]]
t1 
51[[#5ea5e6c0]]
createSuperTypesOfSingleton 
52[[#5ea5e6c0]]
createSubTypesOfSingleton