Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.968 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 336 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java |
2 | 11 | 349 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java |
| ||||
private void editColumnOrNextPossible(int column) { ParameterInfo[] selected = getSelectedElements(); if (selected.length != 1) return; int nextColumn = column; do { fTableViewer.editElement(selected[0], nextColumn); if (fTableViewer.isCellEditorActive()) return; nextColumn = nextColumn(nextColumn); } while ( nextColumn != column); } |
| ||||
private void editColumnOrPrevPossible(int column) { ParameterInfo[] selected = getSelectedElements(); if (selected.length != 1) return; int prevColumn = column; do { fTableViewer.editElement(selected[0], prevColumn); if (fTableViewer.isCellEditorActive()) return; prevColumn = prevColumn(prevColumn); } while ( prevColumn != column); } |
| |||
private void [[#variableb66cd040]](int column) { ParameterInfo[] selected = getSelectedElements(); if (selected.length != 1) return; int [[#variableb66ccfa0]]= column; do { fTableViewer.editElement(selected[0], [[#variableb66ccfa0]]); if (fTableViewer.isCellEditorActive()) return; [[#variableb66ccfa0]]= [[#variableb66ccfa0]]( [[#variableb66ccfa0]]); } while ( [[#variableb66ccfa0]]!= column); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b66cd040]] | editColumnOrNextPossible |
1 | 2 | [[#b66cd040]] | editColumnOrPrevPossible |
2 | 1 | [[#b66ccfa0]] | nextColumn |
2 | 2 | [[#b66ccfa0]] | prevColumn |