CloneSet5060


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.965statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14112
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java
24123
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java
Clone Instance
1
Line Count
4
Source Line
112
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java

                // sub(xsect(sub(a),sub(b))) == xsect(sub(a),sub(b))
                if ((fLHS instanceof SubTypesSet || fLHS instanceof SubTypesOfSingleton) &&
                        (fRHS instanceof SubTypesSet || fRHS instanceof SubTypesOfSingleton))
                        return this ;
                return getTypeSetEnvironment().createSubTypesSet(this );


Clone Instance
2
Line Count
4
Source Line
123
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java

                // super(xsect(super(a),super(b))) == xsect(super(a),super(b))
                if ((fLHS instanceof SuperTypesSet || fLHS instanceof SuperTypesOfSingleton) &&
                        (fRHS instanceof SuperTypesSet || fRHS instanceof SuperTypesOfSingleton))
                        return this ;
                return getTypeSetEnvironment().createSuperTypesSet(this );


Clone AbstractionParameter Count: 3Parameter Bindings

// super(xsect(super(a),super(b))) == xsect(super(a),super(b))
// sub(xsect(sub(a),sub(b))) == xsect(sub(a),sub(b))
if ((fLHS instanceof [[#variable92b2f0a0]]|| fLHS instanceof [[#variable92b2f060]]) && (fRHS instanceof [[#variable92b2f0a0]]|| fRHS instanceof [[#variable92b2f060]]))
  return this ;
return getTypeSetEnvironment(). [[#variable92b2efe0]](this );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92b2f0a0]]
SuperTypesSet 
12[[#92b2f0a0]]
SubTypesSet 
21[[#92b2f060]]
SuperTypesOfSingleton 
22[[#92b2f060]]
SubTypesOfSingleton 
31[[#92b2efe0]]
createSuperTypesSet 
32[[#92b2efe0]]
createSubTypesSet