CloneSet1956


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.996statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18138
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java
28166
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java
Clone Instance
1
Line Count
8
Source Line
138
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java

                        IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor);
                        if (elements == null)
                            return;
                        List candidates = new ArrayList(elements.length);
                        for (int i = 0; i < elements.length; i++) {
                            IJavaElement[] resolvedElements = CallHierarchyUI.getCandidates(elements[i]);
                            if (resolvedElements != null)
                                candidates.addAll(Arrays.asList(resolvedElements));
                        }


Clone Instance
2
Line Count
8
Source Line
166
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java

                        IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor);
                        if (elements == null)
                                return;
                        List candidates = new ArrayList(elements.length);
                        for (int i = 0; i < elements.length; i++) {
                                IJavaElement[] resolvedElements = OpenTypeHierarchyUtil.getCandidates(elements[i]);
                                if (resolvedElements != null)
                                        candidates.addAll(Arrays.asList(resolvedElements));
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor);
if (elements == null)
  return;
List candidates = new ArrayList(elements.length);
for (int i = 0; i < elements.length; i++) {
  IJavaElement[] resolvedElements = [[#variable55814da0]].getCandidates(elements[i]);
  if (resolvedElements != null)
    candidates.addAll(Arrays.asList(resolvedElements));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55814da0]]
CallHierarchyUI 
12[[#55814da0]]
OpenTypeHierarchyUtil