Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 619 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
2 | 8 | 699 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
| ||||
private Object getTarget(IJavaElement[] javaElements, IResource[] resources) { if (javaElements.length + resources.length == 1) { if (javaElements.length == 1) return javaElements[0]; else return resources[0]; } else return getCommonParent(javaElements, resources); } |
| ||||
private Object getTarget(IJavaElement[] javaElements, IResource[] resources) { if (javaElements.length + resources.length == 1) { if (javaElements.length == 1) return javaElements[0]; else return resources[0]; } else return getCommonParent(javaElements, resources); } |
| |||
private Object getTarget(IJavaElement[] javaElements, IResource[] resources) { if (javaElements.length + resources.length == 1) { if (javaElements.length == 1) return javaElements[0]; else return resources[0]; } else return getCommonParent(javaElements, resources); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |