CloneSet2161


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.960block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19139
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java
210103
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java
Clone Instance
1
Line Count
9
Source Line
139
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java

                    {
                        IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor);
                        if (elements == null || elements.length == 0)
                                return;
                        IJavaElement candidate = elements[0];
                        if (elements.length > 1) {
                                candidate = OpenActionUtil.selectJavaElement(elements, getShell(), getDialogTitle(), ActionMessages.OpenExternalJavadocAction_select_element);
                        }
                        run(candidate);
                    }


Clone Instance
2
Line Count
10
Source Line
103
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java

                    {
                        IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor);
                        if (elements == null || elements.length == 0)
                                return;

                        IJavaElement candidate = elements[0];
                        if (elements.length > 1) {
                                candidate = OpenActionUtil.selectJavaElement(elements, getShell(), getDialogTitle(), ActionMessages.ShowInNavigatorView_dialog_message);
                        }
                        run(getResource(candidate));
                    }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor);
  if (elements == null || elements.length == 0)
    return;
  IJavaElement candidate = elements[0];
  if (elements.length > 1) {
    candidate = OpenActionUtil.selectJavaElement(elements, getShell(), getDialogTitle(), ActionMessages. [[#variablea42734c0]]);
  }
  run( [[#variablea42733a0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a42734c0]]
OpenExternalJavadocAction_select_element 
12[[#a42734c0]]
ShowInNavigatorView_dialog_message 
21[[#a42733a0]]
candidate 
22[[#a42733a0]]
getResource(candidate)