| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 3 | 0.964 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 295 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java |
| 2 | 8 | 445 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsModel.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;
}
|
| ||||
{
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;
}
|
| |||
{
[[#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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#634c7ca0]] | |
| 1 | 2 | [[#634c7ca0]] | final |
| 2 | 1 | [[#634c7c20]] | typeBinding |
| 2 | 2 | [[#634c7c20]] | binding |
| 3 | 1 | [[#634c7ba0]] | fTypeEnvironment |
| 3 | 2 | [[#634c7ba0]] | fEnvironment |