Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.971 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 253 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java |
2 | 9 | 265 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java |
| ||||
private void dispatchSelectionChanged(ISelection selection) { if (selection instanceof IStructuredSelection) { selectionChanged((IStructuredSelection) selection); } else if (selection instanceof JavaTextSelection) { selectionChanged((JavaTextSelection) selection); } else if (selection instanceof ITextSelection) { selectionChanged((ITextSelection) selection); } else { selectionChanged(selection); } } |
| ||||
private void dispatchRun(ISelection selection) { if (selection instanceof IStructuredSelection) { run((IStructuredSelection) selection); } else if (selection instanceof JavaTextSelection) { run((JavaTextSelection) selection); } else if (selection instanceof ITextSelection) { run((ITextSelection) selection); } else { run(selection); } } |
| |||
private void [[#variable72fb56a0]](ISelection selection) { if (selection instanceof IStructuredSelection) { [[#variable72fb5640]]((IStructuredSelection) selection); } else if (selection instanceof JavaTextSelection) { [[#variable72fb5640]]((JavaTextSelection) selection); } else if (selection instanceof ITextSelection) { [[#variable72fb5640]]((ITextSelection) selection); } else { [[#variable72fb5640]](selection); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#72fb56a0]] | dispatchSelectionChanged |
1 | 2 | [[#72fb56a0]] | dispatchRun |
2 | 1 | [[#72fb5640]] | selectionChanged |
2 | 2 | [[#72fb5640]] | run |