Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.988 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 58 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/GenericType.java |
2 | 5 | 104 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/ParameterizedType.java |
3 | 5 | 84 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/RawType.java |
| ||||
protected boolean isTypeEquivalentTo(TType other) { int otherElementType = other.getKind(); if (otherElementType == RAW_TYPE || otherElementType == PARAMETERIZED_TYPE) return getErasure().isTypeEquivalentTo(other.getErasure()); return super.isTypeEquivalentTo(other); } |
| ||||
protected boolean isTypeEquivalentTo(TType other) { int otherElementType = other.getKind(); if (otherElementType == RAW_TYPE || otherElementType == GENERIC_TYPE) return getErasure().isTypeEquivalentTo(other.getErasure()); return super.isTypeEquivalentTo(other); } |
| ||||
protected boolean isTypeEquivalentTo(TType other) { int otherElementType = other.getKind(); if (otherElementType == PARAMETERIZED_TYPE || otherElementType == GENERIC_TYPE) return getErasure().isTypeEquivalentTo(other.getErasure()); return super.isTypeEquivalentTo(other); } |
| |||
protected boolean isTypeEquivalentTo(TType other) { int otherElementType = other.getKind(); if (otherElementType == [[#variable5ad037a0]]|| otherElementType == [[#variable527ce3a0]]) return getErasure().isTypeEquivalentTo(other.getErasure()); return super.isTypeEquivalentTo(other); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ad037a0]] | PARAMETERIZED_TYPE |
1 | 2 | [[#5ad037a0]] | RAW_TYPE |
1 | 3 | [[#5ad037a0]] | RAW_TYPE |
2 | 1 | [[#527ce3a0]] | GENERIC_TYPE |
2 | 2 | [[#527ce3a0]] | GENERIC_TYPE |
2 | 3 | [[#527ce3a0]] | PARAMETERIZED_TYPE |