Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 3 | 0.969 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 737 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
2 | 4 | 741 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
3 | 4 | 745 | 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; |
| ||||
case IJavaElement.FIELD: nodeDestination = ASTNodeSearchUtil.getFieldOrEnumConstantDeclaration((IField) javaElementDestination, targetCuNode); destinationContainer = nodeDestination.getParent(); break; |
| ||||
case IJavaElement.METHOD: nodeDestination = ASTNodeSearchUtil.getMethodOrAnnotationTypeMemberDeclarationNode((IMethod) javaElementDestination, targetCuNode); destinationContainer = nodeDestination.getParent(); break; |
| |||
case IJavaElement. [[#variable5b338840]]: nodeDestination = ASTNodeSearchUtil. [[#variable5b338780]](( [[#variable5b338700]]) javaElementDestination, targetCuNode); destinationContainer = nodeDestination.getParent(); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b338840]] | INITIALIZER |
1 | 2 | [[#5b338840]] | FIELD |
1 | 3 | [[#5b338840]] | METHOD |
2 | 1 | [[#5b338780]] | getInitializerNode |
2 | 2 | [[#5b338780]] | getFieldOrEnumConstantDeclaration |
2 | 3 | [[#5b338780]] | getMethodOrAnnotationTypeMemberDeclarationNode |
3 | 1 | [[#5b338700]] | IInitializer |
3 | 2 | [[#5b338700]] | IField |
3 | 3 | [[#5b338700]] | IMethod |