CloneSet1488


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11250.979switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111560
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java
212572
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java
Clone Instance
1
Line Count
11
Source Line
560
Source File
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;
                                                 }


Clone Instance
2
Line Count
12
Source Line
572
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java

                        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;
                                                  }


Clone AbstractionParameter Count: 5Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5681fd20]]
FIELD 
12[[#5681fd20]]
METHOD 
21[[#5681fc80]]
MoveMembersRefactoring_moved_field 
22[[#5681fc80]]
MoveMembersRefactoring_moved_method 
31[[#5681fc00]]
createFieldSignature 
32[[#5681fc00]]
createMethodSignature 
41[[#5681fb60]]
IField 
42[[#5681fb60]]
IMethod 
51[[#5681fb00]]
MoveMembersRefactoring_accessed_field 
52[[#5681fb00]]
MoveMembersRefactoring_accessed_method