Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.954 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 75 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java |
2 | 6 | 92 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java |
| ||||
if (fUpperBounds instanceof SubTypesSet) { // xsect(subTypes(superTypes(A)), subTypes(A)) = subTypes(A) SubTypesSet myUpperSubTypes = (SubTypesSet) fUpperBounds; if (myUpperSubTypes.lowerBound().equals(st2.lowerBound())) return st2; } |
| ||||
if (fUpperBounds instanceof SubTypesOfSingleton) { // xsect(subTypes(superTypes(A)), subTypes(A)) = subTypes(A) SubTypesOfSingleton myUpperSubTypes = (SubTypesOfSingleton) fUpperBounds; if (myUpperSubTypes.uniqueLowerBound().equals(st2.uniqueLowerBound())) return st2; } |
| |||
if (fUpperBounds instanceof [[#variable533e4120]]) { [[#variable533e4120]] myUpperSubTypes = ( [[#variable533e4120]]) fUpperBounds; if (myUpperSubTypes. [[#variable533e4100]]().equals(st2. [[#variable533e4100]]())) return st2; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#533e4120]] | SubTypesOfSingleton |
1 | 2 | [[#533e4120]] | SubTypesSet |
2 | 1 | [[#533e4100]] | uniqueLowerBound |
2 | 2 | [[#533e4100]] | lowerBound |