CloneSet2945


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.962class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11082
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetEnvironment.java
21095
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetEnvironment.java
Clone Instance
1
Line Count
10
Source Line
82
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetEnvironment.java

        public SuperTypesOfSingleton createSuperTypesOfSingleton(TType subType) {
                if (fSuperTypesOfSingletons.containsKey(subType)) {
                        fgCommonExprHits++;
                        return (SuperTypesOfSingleton) fSuperTypesOfSingletons.get(subType);
                }
                else   {
                        SuperTypesOfSingleton s = new SuperTypesOfSingleton(subType, this );

                        fgCommonExprMisses++;
                        fSuperTypesOfSingletons.put(subType, s);
                        return s;
                }
        }


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

        public SuperTypesSet createSuperTypesSet(TType subType) {
                if (fSuperTypesSets.containsKey(subType)) {
                        fgCommonExprHits++;
                        return (SuperTypesSet) fSuperTypesSets.get(subType);
                }
                else   {
                        SuperTypesSet s = new SuperTypesSet(subType, this );

                        fgCommonExprMisses++;
                        fSuperTypesSets.put(subType, s);
                        return s;
                }
        }


Clone AbstractionParameter Count: 3Parameter Bindings

public [[#variable964d9d40]]  [[#variable964d9ce0]](TType subType) {
  if ( [[#variable964d9b60]].containsKey(subType)) {
    fgCommonExprHits++;
    return ( [[#variable964d9d40]])  [[#variable964d9b60]].get(subType);
  }
  else {
     [[#variable964d9d40]] s = new [[#variable964d9d40]](subType, this );
    fgCommonExprMisses++;
     [[#variable964d9b60]].put(subType, s);
    return s;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#964d9d40]]
SuperTypesOfSingleton 
12[[#964d9d40]]
SuperTypesSet 
21[[#964d9ce0]]
createSuperTypesOfSingleton 
22[[#964d9ce0]]
createSuperTypesSet 
31[[#964d9b60]]
fSuperTypesOfSingletons 
32[[#964d9b60]]
fSuperTypesSets