CloneSet6835


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
1678
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java
2695
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
78
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java

                               if (fLowerBounds instanceof SubTypesSet) {
                                // xsect(superTypes(subTypes(A)), superTypes(A)) = superTypes(A)
                                SubTypesSet myLowerSubTypes = (SubTypesSet) fLowerBounds;

                                if (myLowerSubTypes.upperBound().equals(st2.upperBound()))
                                        return st2;
                               }


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

                               if (fLowerBounds instanceof SubTypesOfSingleton) {
                                // xsect(superTypes(subTypes(A)), superTypes(A)) = superTypes(A)
                                SubTypesOfSingleton myLowerSubTypes = (SubTypesOfSingleton) fLowerBounds;

                                if (myLowerSubTypes.uniqueUpperBound().equals(st2.uniqueUpperBound()))
                                        return st2;
                               }


Clone AbstractionParameter Count: 2Parameter Bindings

if (fLowerBounds instanceof [[#variable533e53c0]]) {
   [[#variable533e53c0]] myLowerSubTypes = ( [[#variable533e53c0]]) fLowerBounds;
  if (myLowerSubTypes. [[#variable533e5360]]().equals(st2. [[#variable533e5360]]()))
    return st2;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#533e53c0]]
SubTypesOfSingleton 
12[[#533e53c0]]
SubTypesSet 
21[[#533e5360]]
uniqueUpperBound 
22[[#533e5360]]
upperBound