Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 6 | 3 | 0.965 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 194 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
2 | 2 | 198 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
3 | 2 | 200 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
4 | 2 | 202 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
5 | 2 | 204 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
6 | 2 | 206 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
| ||||
case IJavaElement.FIELD: return new ASTNode[] { getFieldOrEnumConstantDeclaration((IField) element, cuNode) }; |
| ||||
case IJavaElement.IMPORT_DECLARATION: return new ASTNode[] { getImportDeclarationNode((IImportDeclaration) element, cuNode) }; |
| ||||
case IJavaElement.INITIALIZER: return new ASTNode[] { getInitializerNode((IInitializer) element, cuNode) }; |
| ||||
case IJavaElement.METHOD: return new ASTNode[] { getMethodOrAnnotationTypeMemberDeclarationNode((IMethod) element, cuNode) }; |
| ||||
case IJavaElement.PACKAGE_DECLARATION: return new ASTNode[] { getPackageDeclarationNode((IPackageDeclaration) element, cuNode) }; |
| ||||
case IJavaElement.TYPE: return new ASTNode[] { getAbstractTypeDeclarationNode((IType) element, cuNode) }; |
| |||
case IJavaElement. [[#variable9b85d420]]: return new ASTNode[] { [[#variable9b85d000]](( [[#variable9b85d480]]) element, cuNode) }; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b85d420]] | TYPE |
1 | 2 | [[#9b85d420]] | PACKAGE_DECLARATION |
1 | 3 | [[#9b85d420]] | METHOD |
1 | 4 | [[#9b85d420]] | INITIALIZER |
1 | 5 | [[#9b85d420]] | IMPORT_DECLARATION |
1 | 6 | [[#9b85d420]] | FIELD |
2 | 1 | [[#9b85d000]] | getAbstractTypeDeclarationNode |
2 | 2 | [[#9b85d000]] | getPackageDeclarationNode |
2 | 3 | [[#9b85d000]] | getMethodOrAnnotationTypeMemberDeclarationNode |
2 | 4 | [[#9b85d000]] | getInitializerNode |
2 | 5 | [[#9b85d000]] | getImportDeclarationNode |
2 | 6 | [[#9b85d000]] | getFieldOrEnumConstantDeclaration |
3 | 1 | [[#9b85d480]] | IType |
3 | 2 | [[#9b85d480]] | IPackageDeclaration |
3 | 3 | [[#9b85d480]] | IMethod |
3 | 4 | [[#9b85d480]] | IInitializer |
3 | 5 | [[#9b85d480]] | IImportDeclaration |
3 | 6 | [[#9b85d480]] | IField |