Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.989 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 341 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/TypeVariableUtil.java |
2 | 10 | 398 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/TypeVariableUtil.java |
| ||||
final ITypeParameter[] domain = type.getTypeParameters(); if (domain.length > 0) { final String signature = type.getSuperclassTypeSignature(); if (signature != null) { final String[] range = getVariableSignatures(signature); if (range.length > 0) return parametersToSignatures(domain, range, false); } } return new TypeVariableMaplet[0]; |
| ||||
final ITypeParameter[] domain = supertype.getTypeParameters(); if (domain.length > 0) { final String signature = subtype.getSuperclassTypeSignature(); if (signature != null) { final String[] range = getVariableSignatures(signature); if (range.length > 0) return parametersToSignatures(domain, range, true); } } return new TypeVariableMaplet[0]; |
| |||
final ITypeParameter[] domain = [[#variablea4b49120]].getTypeParameters(); if (domain.length > 0) { final String signature = [[#variablebdd6f080]].getSuperclassTypeSignature(); if (signature != null) { final String[] range = getVariableSignatures(signature); if (range.length > 0) return parametersToSignatures(domain, range, [[#variablea4b49160]]); } } return new TypeVariableMaplet[0]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4b49120]] | supertype |
1 | 2 | [[#a4b49120]] | type |
2 | 1 | [[#bdd6f080]] | subtype |
2 | 2 | [[#bdd6f080]] | type |
3 | 1 | [[#a4b49160]] | true |
3 | 2 | [[#a4b49160]] | false |