Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 5 | 0.979 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 560 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java |
2 | 12 | 572 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java |
| ||||
case IJavaElement.FIELD: { if (moved) message = Messages.format(RefactoringCoreMessages.MoveMembersRefactoring_moved_field, new String[] { JavaElementUtil.createFieldSignature((IField) member), JavaModelUtil.getFullyQualifiedName(accessingType), JavaModelUtil.getFullyQualifiedName(declaringType) } ); else message = Messages.format(RefactoringCoreMessages.MoveMembersRefactoring_accessed_field, new String[] { JavaElementUtil.createFieldSignature((IField) member), JavaModelUtil.getFullyQualifiedName(accessingType) } ); return message; } |
| ||||
case IJavaElement.METHOD: { if (moved) message = Messages.format(RefactoringCoreMessages.MoveMembersRefactoring_moved_method, new String[] { JavaElementUtil.createMethodSignature((IMethod) member), JavaModelUtil.getFullyQualifiedName(accessingType), JavaModelUtil.getFullyQualifiedName(declaringType) } ); else message = Messages.format(RefactoringCoreMessages.MoveMembersRefactoring_accessed_method, new String[] { JavaElementUtil.createMethodSignature((IMethod) member), JavaModelUtil.getFullyQualifiedName(accessingType) } ); return message; } |
| |||
case IJavaElement. [[#variable5681fd20]]: { if (moved) message = Messages.format(RefactoringCoreMessages. [[#variable5681fc80]], new String[] { JavaElementUtil. [[#variable5681fc00]](( [[#variable5681fb60]]) member), JavaModelUtil.getFullyQualifiedName(accessingType), JavaModelUtil.getFullyQualifiedName(declaringType) } ); else message = Messages.format(RefactoringCoreMessages. [[#variable5681fb00]], new String[] { JavaElementUtil. [[#variable5681fc00]](( [[#variable5681fb60]]) member), JavaModelUtil.getFullyQualifiedName(accessingType) } ); return message; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5681fd20]] | FIELD |
1 | 2 | [[#5681fd20]] | METHOD |
2 | 1 | [[#5681fc80]] | MoveMembersRefactoring_moved_field |
2 | 2 | [[#5681fc80]] | MoveMembersRefactoring_moved_method |
3 | 1 | [[#5681fc00]] | createFieldSignature |
3 | 2 | [[#5681fc00]] | createMethodSignature |
4 | 1 | [[#5681fb60]] | IField |
4 | 2 | [[#5681fb60]] | IMethod |
5 | 1 | [[#5681fb00]] | MoveMembersRefactoring_accessed_field |
5 | 2 | [[#5681fb00]] | MoveMembersRefactoring_accessed_method |