CloneSet4784


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4330.969switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14737
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
24741
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
34745
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java
Clone Instance
1
Line Count
4
Source Line
737
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java

                                case IJavaElement.INITIALIZER:
                                        nodeDestination = ASTNodeSearchUtil.getInitializerNode((IInitializer) javaElementDestination, targetCuNode);
                                        destinationContainer = nodeDestination.getParent();
                                        break;


Clone Instance
2
Line Count
4
Source Line
741
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java

                                case IJavaElement.FIELD:
                                        nodeDestination = ASTNodeSearchUtil.getFieldOrEnumConstantDeclaration((IField) javaElementDestination, targetCuNode);
                                        destinationContainer = nodeDestination.getParent();
                                        break;


Clone Instance
3
Line Count
4
Source Line
745
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java

                                case IJavaElement.METHOD:
                                        nodeDestination = ASTNodeSearchUtil.getMethodOrAnnotationTypeMemberDeclarationNode((IMethod) javaElementDestination, targetCuNode);
                                        destinationContainer = nodeDestination.getParent();
                                        break;


Clone AbstractionParameter Count: 3Parameter Bindings

case IJavaElement. [[#variable5b338840]]:
  nodeDestination = ASTNodeSearchUtil. [[#variable5b338780]](( [[#variable5b338700]]) javaElementDestination, targetCuNode);
  destinationContainer = nodeDestination.getParent();
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b338840]]
INITIALIZER 
12[[#5b338840]]
FIELD 
13[[#5b338840]]
METHOD 
21[[#5b338780]]
getInitializerNode 
22[[#5b338780]]
getFieldOrEnumConstantDeclaration 
23[[#5b338780]]
getMethodOrAnnotationTypeMemberDeclarationNode 
31[[#5b338700]]
IInitializer 
32[[#5b338700]]
IField 
33[[#5b338700]]
IMethod