CloneSet7832


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.978class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1524
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/ResourceLocator.java
2531
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/ResourceLocator.java
Clone Instance
1
Line Count
5
Source Line
24
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/ResourceLocator.java

        public IResource getUnderlyingResource(Object element) throws JavaModelException {
                if (element instanceof IJavaElement)
                        return ((IJavaElement) element).getUnderlyingResource();
                else
                        return null;
        }


Clone Instance
2
Line Count
5
Source Line
31
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/ResourceLocator.java

        public IResource getCorrespondingResource(Object element) throws JavaModelException {
                if (element instanceof IJavaElement)
                        return ((IJavaElement) element).getCorrespondingResource();
                else
                        return null;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public IResource  [[#variable4d1a4e60]](Object element) throws JavaModelException {
  if (element instanceof IJavaElement)
    return ((IJavaElement) element). [[#variable4d1a4e60]]();
  else
    return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4d1a4e60]]
getUnderlyingResource 
12[[#4d1a4e60]]
getCorrespondingResource