Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.992 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 977 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
2 | 10 | 989 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
| ||||
private String getOldMethodParameters() { StringBuffer buff = new StringBuffer(); int i = 0; for (Iterator iter = getNotAddedInfos().iterator(); iter.hasNext(); i++) { ParameterInfo info = (ParameterInfo) iter.next(); if (i != 0) buff.append(", "); //$NON-NLS-1$ buff.append(createDeclarationString(info)); } return buff.toString(); } |
| ||||
private String getMethodParameters() { StringBuffer buff = new StringBuffer(); int i = 0; for (Iterator iter = getNotDeletedInfos().iterator(); iter.hasNext(); i++) { ParameterInfo info = (ParameterInfo) iter.next(); if (i != 0) buff.append(", "); //$NON-NLS-1$ buff.append(createDeclarationString(info)); } return buff.toString(); } |
| |||
private String [[#variableb48d4220]]() { StringBuffer buff = new StringBuffer(); int i = 0; for (Iterator iter = [[#variableb48d41c0]]().iterator(); iter.hasNext(); i++) { ParameterInfo info = (ParameterInfo) iter.next(); if (i != 0) buff.append(", "); //$NON-NLS-1$ buff.append(createDeclarationString(info)); } return buff.toString(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b48d4220]] | getOldMethodParameters |
1 | 2 | [[#b48d4220]] | getMethodParameters |
2 | 1 | [[#b48d41c0]] | getNotAddedInfos |
2 | 2 | [[#b48d41c0]] | getNotDeletedInfos |