Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.962 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 82 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetEnvironment.java |
2 | 10 | 95 | 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; } } |
| ||||
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; } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#964d9d40]] | SuperTypesOfSingleton |
1 | 2 | [[#964d9d40]] | SuperTypesSet |
2 | 1 | [[#964d9ce0]] | createSuperTypesOfSingleton |
2 | 2 | [[#964d9ce0]] | createSuperTypesSet |
3 | 1 | [[#964d9b60]] | fSuperTypesOfSingletons |
3 | 2 | [[#964d9b60]] | fSuperTypesSets |