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.988 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 296 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeExceptionsControl.java |
2 | 10 | 507 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java |
| ||||
public void widgetSelected(SelectionEvent e) { int index = getTable().getSelectionIndices()[0]; ExceptionInfo[] selected = getSelectedItems(); for (int i = 0; i < selected.length; i++) { if (selected[i].isAdded()) fExceptionInfos.remove(selected[i]); else selected[i].markAsDeleted(); } restoreSelection(index); } |
| ||||
public void widgetSelected(SelectionEvent e) { int index = getTable().getSelectionIndices()[0]; ParameterInfo[] selected = getSelectedElements(); for (int i = 0; i < selected.length; i++) { if (selected[i].isAdded()) fParameterInfos.remove(selected[i]); else selected[i].markAsDeleted(); } restoreSelection(index); } |
| |||
public void widgetSelected(SelectionEvent e) { int index = getTable().getSelectionIndices()[0]; [[#variable52b52640]][] selected = [[#variable52b525a0]](); for (int i = 0; i < selected.length; i++) { if (selected[i].isAdded()) [[#variable52b52540]].remove(selected[i]); else selected[i].markAsDeleted(); } restoreSelection(index); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52b52640]] | ParameterInfo |
1 | 2 | [[#52b52640]] | ExceptionInfo |
2 | 1 | [[#52b525a0]] | getSelectedElements |
2 | 2 | [[#52b525a0]] | getSelectedItems |
3 | 1 | [[#52b52540]] | fParameterInfos |
3 | 2 | [[#52b52540]] | fExceptionInfos |