Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.957 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 48 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ObjectActionDelegate.java |
2 | 4 | 226 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java |
| ||||
if (page != null) { ISelection selection = page.getSelection(); if (selection instanceof IStructuredSelection) { return (IStructuredSelection) selection; } } |
| ||||
if (selectionProvider != null) { ISelection selection = selectionProvider.getSelection(); if (selection instanceof ITextSelection) { return (ITextSelection) selection; } } |
| |||
if ( [[#variable5b1fdfc0]]!= null) { ISelection selection = [[#variable5b1fdfc0]].getSelection(); if (selection instanceof [[#variable5b20ab80]]) { return ( [[#variable5b20ab80]]) selection; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b1fdfc0]] | page |
1 | 2 | [[#5b1fdfc0]] | selectionProvider |
2 | 1 | [[#5b20ab80]] | IStructuredSelection |
2 | 2 | [[#5b20ab80]] | ITextSelection |