Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 54 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java |
2 | 5 | 66 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java |
| ||||
public boolean isEnabled(DropTargetEvent event) { Object target = event.item != null ? event.item.getData(): null; if (target == null) return false; return target instanceof IJavaElement || target instanceof IResource; } |
| ||||
public boolean isEnabled(DropTargetEvent event) { Object target = event.item != null ? event.item.getData(): null; if (target == null) return false; return target instanceof IJavaElement || target instanceof IResource; } |
| |||
public boolean isEnabled(DropTargetEvent event) { Object target = event.item != null ? event.item.getData(): null; if (target == null) return false; return target instanceof IJavaElement || target instanceof IResource; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |