CloneSet10038


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

                // stupid code. Is to find out if the variable declaration isn't a field.
                if (ASTNodes.isParent(anonymous, initializer))
                        return false;
                return true;


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

                if (ASTNodes.isParent(declaringNode, fAnonymousInnerClassNode))
                        return false;
                return true;


Clone AbstractionParameter Count: 2Parameter Bindings

// stupid code. Is to find out if the variable declaration isn't a field.
if (ASTNodes.isParent( [[#variable9d7021c0]],  [[#variable9d7021a0]]))
  return false;
return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d7021c0]]
anonymous 
12[[#9d7021c0]]
declaringNode 
21[[#9d7021a0]]
initializer 
22[[#9d7021a0]]
fAnonymousInnerClassNode