CloneSet8823


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.975statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12760
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
2386
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java
Clone Instance
1
Line Count
2
Source Line
760
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java

                if (type != IJavaElement.METHOD && type != IJavaElement.FIELD && type != IJavaElement.TYPE)
                        return false;


Clone Instance
2
Line Count
3
Source Line
86
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java

                                // 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;


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bbc5d3c0]]
METHOD 
12[[#bbc5d3c0]]
PACKAGE_FRAGMENT_ROOT 
21[[#bbc5d2a0]]
FIELD 
22[[#bbc5d2a0]]
COMPILATION_UNIT