CloneSet8220


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14125
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java
2481
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java
Clone Instance
1
Line Count
4
Source Line
125
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java

        private boolean checkEnabled(IStructuredSelection selection) {
                if (selection.size() != 1)
                        return false;
                return selection.getFirstElement() instanceof IJavaElement;
        }


Clone Instance
2
Line Count
4
Source Line
81
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java

        private boolean checkEnabled(IStructuredSelection selection) {
                if (selection.size() != 1)
                        return false;
                return selection.getFirstElement() instanceof IJavaElement;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private boolean checkEnabled(IStructuredSelection selection) {
  if (selection.size() != 1)
    return false;
  return selection.getFirstElement() instanceof IJavaElement;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None