Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 5 | 0.967 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 86 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java |
2 | 6 | 89 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java |
| ||||
{ TType t1 = this.fUpperBounds.anyMember(); TType t2 = st2.uniqueUpperBound(); if (TTypes.canAssignTo(t2, t1)) return getTypeSetEnvironment().createSubTypesOfSingleton(t2); } |
| ||||
{ TType t1 = this.fLowerBounds.anyMember(); TType t2 = st2.uniqueLowerBound(); if (TTypes.canAssignTo(t1, t2)) return getTypeSetEnvironment().createSuperTypesOfSingleton(t2); } |
| |||
{ TType t1 = this. [[#variable5ea5e8e0]].anyMember(); TType t2 = st2. [[#variable5ea5e880]](); if (TTypes.canAssignTo( [[#variable5ea5e800]], [[#variable5ea5e780]])) return getTypeSetEnvironment(). [[#variable5ea5e6c0]](t2); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ea5e8e0]] | fLowerBounds |
1 | 2 | [[#5ea5e8e0]] | fUpperBounds |
2 | 1 | [[#5ea5e880]] | uniqueLowerBound |
2 | 2 | [[#5ea5e880]] | uniqueUpperBound |
3 | 1 | [[#5ea5e800]] | t1 |
3 | 2 | [[#5ea5e800]] | t2 |
4 | 1 | [[#5ea5e780]] | t2 |
4 | 2 | [[#5ea5e780]] | t1 |
5 | 1 | [[#5ea5e6c0]] | createSuperTypesOfSingleton |
5 | 2 | [[#5ea5e6c0]] | createSubTypesOfSingleton |