CloneSet3965


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.971class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19253
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java
29265
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java
Clone Instance
1
Line Count
9
Source Line
253
Source File
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);
                       }
        }


Clone Instance
2
Line Count
9
Source Line
265
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java

        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);
                   }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#72fb56a0]]
dispatchSelectionChanged 
12[[#72fb56a0]]
dispatchRun 
21[[#72fb5640]]
selectionChanged 
22[[#72fb5640]]
run