Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 64 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/SnippetOpenHierarchyOnSelectionAction.java |
2 | 18 | 120 | 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(); } |
| ||||
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(); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |