Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 5 | 2 | 0.962 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 36 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/ArrayElementVariable2.java |
2 | 6 | 61 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/CollectionElementVariable2.java |
3 | 6 | 65 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/ParameterTypeVariable2.java |
4 | 6 | 48 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/ReturnTypeVariable2.java |
5 | 6 | 51 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints2/TypeVariable2.java |
| ||||
if (this == other) return true; if (other.getClass() != ArrayElementVariable2.class ) return false; ArrayElementVariable2 other2 = (ArrayElementVariable2) other; |
| ||||
if (this == other) return true; if (other.getClass() != CollectionElementVariable2.class ) return false; CollectionElementVariable2 other2 = (CollectionElementVariable2) other; |
| ||||
if (this == other) return true; if (other.getClass() != ParameterTypeVariable2.class ) return false; ParameterTypeVariable2 other2 = (ParameterTypeVariable2) other; |
| ||||
if (this == other) return true; if (other.getClass() != ReturnTypeVariable2.class ) return false; ReturnTypeVariable2 other2 = (ReturnTypeVariable2) other; |
| ||||
//TODO: unique per construction? //return this == other; if (this == other) return true; if (other.getClass() != TypeVariable2.class ) return false; TypeVariable2 otherTypeVariable = (TypeVariable2) other; |
| |||
//TODO: unique per construction? //return this == other; if (this == other) return true; if (other.getClass() != [[#variablea0b1f200]].class ) return false; [[#variablea0b1f200]] [[#variablea0b1f220]]= ( [[#variablea0b1f200]]) other; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0b1f200]] | TypeVariable2 |
1 | 2 | [[#a0b1f200]] | ArrayElementVariable2 |
1 | 3 | [[#a0b1f200]] | CollectionElementVariable2 |
1 | 4 | [[#a0b1f200]] | ParameterTypeVariable2 |
1 | 5 | [[#a0b1f200]] | ReturnTypeVariable2 |
2 | 1 | [[#a0b1f220]] | otherTypeVariable |
2 | 2 | [[#a0b1f220]] | other2 |
2 | 3 | [[#a0b1f220]] | other2 |
2 | 4 | [[#a0b1f220]] | other2 |
2 | 5 | [[#a0b1f220]] | other2 |