Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.978 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 24 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/ResourceLocator.java |
2 | 5 | 31 | 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; } |
| ||||
public IResource getCorrespondingResource(Object element) throws JavaModelException { if (element instanceof IJavaElement) return ((IJavaElement) element).getCorrespondingResource(); else return null; } |
| |||
public IResource [[#variable4d1a4e60]](Object element) throws JavaModelException { if (element instanceof IJavaElement) return ((IJavaElement) element). [[#variable4d1a4e60]](); else return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4d1a4e60]] | getUnderlyingResource |
1 | 2 | [[#4d1a4e60]] | getCorrespondingResource |