CloneSet9426


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.960statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13752
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
23791
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
Clone Instance
1
Line Count
3
Source Line
752
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java

                final IJavaElement method = selection.resolveEnclosingElement();
                if ( !(method instanceof IMethod))
                        return false;


Clone Instance
2
Line Count
3
Source Line
791
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java

                final IJavaElement element = selection.resolveEnclosingElement();
                if ( !(element instanceof IMember))
                        return false;


Clone AbstractionParameter Count: 2Parameter Bindings

final IJavaElement  [[#variablebc2f8d20]]= selection.resolveEnclosingElement();
if ( !( [[#variablebc2f8d20]]instanceof [[#variablebd0cbb80]]))
  return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bc2f8d20]]
element 
12[[#bc2f8d20]]
method 
21[[#bd0cbb80]]
IMember 
22[[#bd0cbb80]]
IMethod