Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 4 | 0.989 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 425 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java |
2 | 12 | 474 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| ||||
final String delimiter = StubUtility.getLineDelimiterUsed(subType.getJavaProject()); String typeComment = null; String fileComment = null; if (fSettings.createComments) { final ITypeParameter[] parameters = subType.getTypeParameters(); final String[] names = new String[parameters.length]; for (int index = 0; index < parameters.length; index++) names[index] = parameters[index].getElementName(); typeComment = CodeGeneration.getTypeComment(copy, superName, names, delimiter); fileComment = CodeGeneration.getFileComment(copy, delimiter); } final StringBuffer buffer = new StringBuffer(64); |
| ||||
final String delimiter = StubUtility.getLineDelimiterUsed(extractedWorkingCopy.getJavaProject()); String typeComment = null; String fileComment = null; if (fSettings.createComments) { final ITypeParameter[] parameters = declaring.getTypeParameters(); final String[] names = new String[parameters.length]; for (int index = 0; index < parameters.length; index++) names[index] = parameters[index].getElementName(); typeComment = CodeGeneration.getTypeComment(extractedWorkingCopy, fTypeName, names, delimiter); fileComment = CodeGeneration.getFileComment(extractedWorkingCopy, delimiter); } final StringBuffer buffer = new StringBuffer(64); |
| |||
final String delimiter = StubUtility.getLineDelimiterUsed( [[#variableb19557c0]].getJavaProject()); String typeComment = null; String fileComment = null; if (fSettings.createComments) { final ITypeParameter[] parameters = [[#variableb1955720]].getTypeParameters(); final String[] names = new String[parameters.length]; for (int index = 0; index < parameters.length; index++) names[index] = parameters[index].getElementName(); typeComment = CodeGeneration.getTypeComment( [[#variableb1955820]], [[#variableb1955800]], names, delimiter); fileComment = CodeGeneration.getFileComment( [[#variableb1955820]], delimiter); } final StringBuffer buffer = new StringBuffer(64); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b19557c0]] | subType |
1 | 2 | [[#b19557c0]] | extractedWorkingCopy |
2 | 1 | [[#b1955720]] | subType |
2 | 2 | [[#b1955720]] | declaring |
3 | 1 | [[#b1955820]] | copy |
3 | 2 | [[#b1955820]] | extractedWorkingCopy |
4 | 1 | [[#b1955800]] | superName |
4 | 2 | [[#b1955800]] | fTypeName |