CloneSet6834


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

                               if (fUpperBounds instanceof SubTypesSet) {
                                // xsect(subTypes(superTypes(A)), subTypes(A)) = subTypes(A)
                                SubTypesSet myUpperSubTypes = (SubTypesSet) fUpperBounds;

                                if (myUpperSubTypes.lowerBound().equals(st2.lowerBound()))
                                        return st2;
                               }


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

                               if (fUpperBounds instanceof SubTypesOfSingleton) {
                                // xsect(subTypes(superTypes(A)), subTypes(A)) = subTypes(A)
                                SubTypesOfSingleton myUpperSubTypes = (SubTypesOfSingleton) fUpperBounds;

                                if (myUpperSubTypes.uniqueLowerBound().equals(st2.uniqueLowerBound()))
                                        return st2;
                               }


Clone AbstractionParameter Count: 2Parameter Bindings

if (fUpperBounds instanceof [[#variable533e4120]]) {
   [[#variable533e4120]] myUpperSubTypes = ( [[#variable533e4120]]) fUpperBounds;
  if (myUpperSubTypes. [[#variable533e4100]]().equals(st2. [[#variable533e4100]]()))
    return st2;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#533e4120]]
SubTypesOfSingleton 
12[[#533e4120]]
SubTypesSet 
21[[#533e4100]]
uniqueLowerBound 
22[[#533e4100]]
lowerBound