CloneSet8721


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.963class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1424
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SingletonTypeSet.java
2427
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java
Clone Instance
1
Line Count
4
Source Line
24
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SingletonTypeSet.java

        //TODO: encapsulate in factory method and return the same set for known types
        public SingletonTypeSet(TType t, TypeSetEnvironment typeSetEnvironment) {
                super(typeSetEnvironment);
                Assert.isNotNull(t);
                fType = t;
        }


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

        protected SubTypesOfSingleton(TType t, TypeSetEnvironment typeSetEnvironment) {
                super(typeSetEnvironment);
                Assert.isNotNull(t);
                fUpperBound = t;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variablea1bb9b80]] [[#variablea1bb9b00]](TType t, TypeSetEnvironment typeSetEnvironment) {
  super(typeSetEnvironment);
  Assert.isNotNull(t);
   [[#variablea1bb9a40]]= t;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1bb9b80]]
protected 
12[[#a1bb9b80]]
//TODO: encapsulate in factory method and return the same set for known types
public 
21[[#a1bb9b00]]
SubTypesOfSingleton 
22[[#a1bb9b00]]
SingletonTypeSet 
31[[#a1bb9a40]]
fUpperBound 
32[[#a1bb9a40]]
fType