CloneSet5602


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.953block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171309
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
27368
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java
Clone Instance
1
Line Count
7
Source Line
1309
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java

                                                                                   {
                        if (element instanceof CPListElementAttribute) {
                                return ((CPListElementAttribute) element).getParent();
                        }
                        else   if (element instanceof CPListElement) {
                                return ((CPListElement) element).getParentContainer();
                               }
                        return null;
                                                                                   }


Clone Instance
2
Line Count
7
Source Line
368
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java

                                                            {
                if (element instanceof IJavaElement) {
                        return ((IJavaElement) element).getJavaProject();
                }
                else   if (element instanceof ClassPathContainer) {
                        return ((ClassPathContainer) element).getJavaProject();
                       }
                return null;
                                                            }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  if (element instanceof [[#variable9a43fd20]]) {
    return (( [[#variable9a43fd20]]) element). [[#variable9a43fc80]]();
  }
  else
    if (element instanceof [[#variable9a43fbc0]]) {
      return (( [[#variable9a43fbc0]]) element). [[#variable9a43fb00]]();
    }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9a43fd20]]
CPListElementAttribute 
12[[#9a43fd20]]
IJavaElement 
21[[#9a43fc80]]
getParent 
22[[#9a43fc80]]
getJavaProject 
31[[#9a43fbc0]]
CPListElement 
32[[#9a43fbc0]]
ClassPathContainer 
41[[#9a43fb00]]
getParentContainer 
42[[#9a43fb00]]
getJavaProject