Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.975 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 760 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java |
2 | 3 | 86 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java |
| ||||
if (type != IJavaElement.METHOD && type != IJavaElement.FIELD && type != IJavaElement.TYPE) return false; |
| ||||
// valid elements are: roots, units and types. Don't allow dragging // projects outside of eclipse if (type != IJavaElement.PACKAGE_FRAGMENT_ROOT && type != IJavaElement.COMPILATION_UNIT && type != IJavaElement.TYPE) return false; |
| |||
// valid elements are: roots, units and types. Don't allow dragging // projects outside of eclipse if (type != IJavaElement. [[#variablebbc5d3c0]]&& type != IJavaElement. [[#variablebbc5d2a0]]&& type != IJavaElement.TYPE) return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bbc5d3c0]] | METHOD |
1 | 2 | [[#bbc5d3c0]] | PACKAGE_FRAGMENT_ROOT |
2 | 1 | [[#bbc5d2a0]] | FIELD |
2 | 2 | [[#bbc5d2a0]] | COMPILATION_UNIT |