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 | 78 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java |
2 | 6 | 95 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java |
| ||||
if (fLowerBounds instanceof SubTypesSet) { // xsect(superTypes(subTypes(A)), superTypes(A)) = superTypes(A) SubTypesSet myLowerSubTypes = (SubTypesSet) fLowerBounds; if (myLowerSubTypes.upperBound().equals(st2.upperBound())) return st2; } |
| ||||
if (fLowerBounds instanceof SubTypesOfSingleton) { // xsect(superTypes(subTypes(A)), superTypes(A)) = superTypes(A) SubTypesOfSingleton myLowerSubTypes = (SubTypesOfSingleton) fLowerBounds; if (myLowerSubTypes.uniqueUpperBound().equals(st2.uniqueUpperBound())) return st2; } |
| |||
if (fLowerBounds instanceof [[#variable533e53c0]]) { [[#variable533e53c0]] myLowerSubTypes = ( [[#variable533e53c0]]) fLowerBounds; if (myLowerSubTypes. [[#variable533e5360]]().equals(st2. [[#variable533e5360]]())) return st2; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#533e53c0]] | SubTypesOfSingleton |
1 | 2 | [[#533e53c0]] | SubTypesSet |
2 | 1 | [[#533e5360]] | uniqueUpperBound |
2 | 2 | [[#533e5360]] | upperBound |