CloneSet1623


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11864
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SnippetOpenHierarchyOnSelectionAction.java
218120
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SnippetOpenOnSelectionAction.java
Clone Instance
1
Line Count
18
Source Line
64
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SnippetOpenHierarchyOnSelectionAction.java

        public void run() {
                if (fEditor == null) {
                        return;
                }
                try {
                        IJavaElement[] result = fEditor.codeResolve();
                        if (result != null && result.length > 0) {
                                IJavaElement chosen = selectJavaElement(filterResolveResults(result), getShell(), fDialogTitle, fDialogMessage);
                                if (chosen != null) {
                                        run(new StructuredSelection(chosen));
                                        return;
                                }
                        }
                } catch (JavaModelException x) {
                        JDIDebugUIPlugin.log(x);
                  }

                getShell().getDisplay().beep();
        }


Clone Instance
2
Line Count
18
Source Line
120
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SnippetOpenOnSelectionAction.java

        public void run() {
                if (fEditor == null) {
                        return;
                }
                try {
                        IJavaElement[] result = fEditor.codeResolve();
                        if (result != null && result.length > 0) {
                                IJavaElement chosen = selectJavaElement(filterResolveResults(result), getShell(), fDialogTitle, fDialogMessage);
                                if (chosen != null) {
                                        run(new StructuredSelection(chosen));
                                        return;
                                }
                        }
                } catch (JavaModelException x) {
                        JDIDebugUIPlugin.log(x);
                  }

                getShell().getDisplay().beep();
        }


Clone AbstractionParameter Count: 0Parameter Bindings

public void run() {
  if (fEditor == null) {
    return;
  }
  try {
    IJavaElement[] result = fEditor.codeResolve();
    if (result != null && result.length > 0) {
      IJavaElement chosen = selectJavaElement(filterResolveResults(result), getShell(), fDialogTitle, fDialogMessage);
      if (chosen != null) {
        run(new StructuredSelection(chosen));
        return;
      }
    }
  }
  catch (JavaModelException x) {
    JDIDebugUIPlugin.log(x);
  }
  getShell().getDisplay().beep();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None