CloneSet1750


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.987statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112217
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyUI.java
21258
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java
Clone Instance
1
Line Count
12
Source Line
217
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyUI.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;


Clone Instance
2
Line Count
12
Source Line
58
Source File
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 = 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;


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97b6bb00]]
CallHierarchyMessages 
12[[#97b6bb00]]
JavaUIMessages 
21[[#97b6bd00]]
CallHierarchyUI_selectionDialog_title 
22[[#97b6bd00]]
OpenTypeHierarchyUtil_selectionDialog_title 
31[[#97b6bae0]]
CallHierarchyUI_selectionDialog_message 
32[[#97b6bae0]]
OpenTypeHierarchyUtil_selectionDialog_message