CloneSet3500


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161298
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
26201
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
Clone Instance
1
Line Count
6
Source Line
1298
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java

                               if (element instanceof CPListElement) {
                                return ((CPListElement) element).getChildren(false);
                               }
                               else
                               if (element instanceof CPListElementAttribute) {
                                CPListElementAttribute attribute = (CPListElementAttribute) element;
                                if (CPListElement.ACCESSRULES.equals(attribute.getKey())) {
                                        return (IAccessRule[]) attribute.getValue();
                                }
                               }


Clone Instance
2
Line Count
6
Source Line
201
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java

                        if (element instanceof CPListElement) {
                                return ((CPListElement) element).getChildren(false);
                        }
                        else   if (element instanceof CPListElementAttribute) {
                                CPListElementAttribute attribute = (CPListElementAttribute) element;
                                if (CPListElement.ACCESSRULES.equals(attribute.getKey())) {
                                        return (IAccessRule[]) attribute.getValue();
                                }
                               }


Clone AbstractionParameter Count: 0Parameter Bindings

if (element instanceof CPListElement) {
  return ((CPListElement) element).getChildren(false);
}
else
  if (element instanceof CPListElementAttribute) {
    CPListElementAttribute attribute = (CPListElementAttribute) element;
    if (CPListElement.ACCESSRULES.equals(attribute.getKey())) {
      return (IAccessRule[]) attribute.getValue();
    }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None