Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 154 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaDropAdapterAssistant.java |
2 | 6 | 118 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java |
| ||||
private IContainer getActualTarget(Object dropTarget) throws JavaModelException { if (dropTarget instanceof IContainer) return (IContainer) dropTarget; else if (dropTarget instanceof IJavaElement) return getActualTarget(((IJavaElement) dropTarget).getCorrespondingResource()); return null; } |
| ||||
private IContainer getActualTarget(Object dropTarget) throws JavaModelException { if (dropTarget instanceof IContainer) return (IContainer) dropTarget; else if (dropTarget instanceof IJavaElement) return getActualTarget(((IJavaElement) dropTarget).getCorrespondingResource()); return null; } |
| |||
private IContainer getActualTarget(Object dropTarget) throws JavaModelException { if (dropTarget instanceof IContainer) return (IContainer) dropTarget; else if (dropTarget instanceof IJavaElement) return getActualTarget(((IJavaElement) dropTarget).getCorrespondingResource()); return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |