Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 3 | 0.987 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 217 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyUI.java |
2 | 12 | 58 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java |
| ||||
Assert.isTrue(candidates != null && candidates.length != 0); IJavaElement input = null; if (candidates.length > 1) { String title = CallHierarchyMessages.CallHierarchyUI_selectionDialog_title; String message = CallHierarchyMessages.CallHierarchyUI_selectionDialog_message; input = OpenActionUtil.selectJavaElement(candidates, window.getShell(), title, message); } else { input = candidates[0]; } if (input == null) return null; |
| ||||
Assert.isTrue(candidates != null && candidates.length != 0); IJavaElement input = null; if (candidates.length > 1) { String title = JavaUIMessages.OpenTypeHierarchyUtil_selectionDialog_title; String message = JavaUIMessages.OpenTypeHierarchyUtil_selectionDialog_message; input = OpenActionUtil.selectJavaElement(candidates, window.getShell(), title, message); } else { input = candidates[0]; } if (input == null) return null; |
| |||
Assert.isTrue(candidates != null && candidates.length != 0); IJavaElement input = null; if (candidates.length > 1) { String title = [[#variable97b6bb00]]. [[#variable97b6bd00]]; String message = [[#variable97b6bb00]]. [[#variable97b6bae0]]; input = OpenActionUtil.selectJavaElement(candidates, window.getShell(), title, message); } else { input = candidates[0]; } if (input == null) return null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97b6bb00]] | CallHierarchyMessages |
1 | 2 | [[#97b6bb00]] | JavaUIMessages |
2 | 1 | [[#97b6bd00]] | CallHierarchyUI_selectionDialog_title |
2 | 2 | [[#97b6bd00]] | OpenTypeHierarchyUtil_selectionDialog_title |
3 | 1 | [[#97b6bae0]] | CallHierarchyUI_selectionDialog_message |
3 | 2 | [[#97b6bae0]] | OpenTypeHierarchyUtil_selectionDialog_message |