CloneSet3035


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.964block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18295
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java
28445
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.java
Clone Instance
1
Line Count
8
Source Line
295
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java

                                                           {
                String key = typeBinding.getKey();
                TType cached = (TType) fTTypeCache.get(key);
                if (cached != null)
                        return cached;
                TType type = fTypeEnvironment.create(typeBinding);
                fTTypeCache.put(key, type);
                return type;
                                                           }


Clone Instance
2
Line Count
8
Source Line
445
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.java

                                                                   {
                final String key = binding.getKey();
                final TType cached = (TType) fTTypeCache.get(key);
                if (cached != null)
                        return cached;
                final TType type = fEnvironment.create(binding);
                fTTypeCache.put(key, type);
                return type;
                                                                   }


Clone AbstractionParameter Count: 3Parameter Bindings

{
   [[#variable634c7ca0]]String key = [[#variable634c7c20]].getKey();
   [[#variable634c7ca0]]TType cached = (TType) fTTypeCache.get(key);
  if (cached != null)
    return cached;
   [[#variable634c7ca0]]TType type = [[#variable634c7ba0]].create( [[#variable634c7c20]]);
  fTTypeCache.put(key, type);
  return type;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#634c7ca0]]
12[[#634c7ca0]]
final 
21[[#634c7c20]]
typeBinding 
22[[#634c7c20]]
binding 
31[[#634c7ba0]]
fTypeEnvironment 
32[[#634c7ba0]]
fEnvironment