CloneSet7724


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.957statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1448
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ObjectActionDelegate.java
24226
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
Clone Instance
1
Line Count
4
Source Line
48
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ObjectActionDelegate.java

                if (page != null) {
                        ISelection selection = page.getSelection();
                        if (selection instanceof IStructuredSelection) {
                                return (IStructuredSelection) selection;
                        }
                }


Clone Instance
2
Line Count
4
Source Line
226
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java

                        if (selectionProvider != null) {
                                ISelection selection = selectionProvider.getSelection();
                                if (selection instanceof ITextSelection) {
                                        return (ITextSelection) selection;
                                }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable5b1fdfc0]]!= null) {
  ISelection selection = [[#variable5b1fdfc0]].getSelection();
  if (selection instanceof [[#variable5b20ab80]]) {
    return ( [[#variable5b20ab80]]) selection;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b1fdfc0]]
page 
12[[#5b1fdfc0]]
selectionProvider 
21[[#5b20ab80]]
IStructuredSelection 
22[[#5b20ab80]]
ITextSelection