CloneSet626


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4430.980statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1470
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/MethodChecks.java
2487
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/MethodChecks.java
34706
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
44711
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
Clone Instance
1
Line Count
4
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/MethodChecks.java

                RefactoringStatusContext context = JavaStatusContext.create(overrides);
                String message = Messages.format(RefactoringCoreMessages.MethodChecks_overrides, 
                                 new String[] {
                                               JavaElementUtil.createMethodSignature(overrides), JavaModelUtil.getFullyQualifiedName(overrides.getDeclaringType())
                                              } );
                return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.OVERRIDES_ANOTHER_METHOD, overrides);


Clone Instance
2
Line Count
4
Source Line
87
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/MethodChecks.java

                RefactoringStatusContext context = JavaStatusContext.create(inInterface);
                String message = Messages.format(RefactoringCoreMessages.MethodChecks_implements, 
                                 new String[] {
                                               JavaElementUtil.createMethodSignature(inInterface), JavaModelUtil.getFullyQualifiedName(inInterface.getDeclaringType())
                                              } );
                return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.METHOD_DECLARED_IN_INTERFACE, inInterface);


Clone Instance
3
Line Count
4
Source Line
706
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

                                        RefactoringStatusContext context = JavaStatusContext.create(fTopMethod);
                                        String message = Messages.format(RefactoringCoreMessages.MethodChecks_implements, 
                                                         new String[] {
                                                                       JavaElementUtil.createMethodSignature(fTopMethod), JavaModelUtil.getFullyQualifiedName(fTopMethod.getDeclaringType())
                                                                      } );
                                        return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.METHOD_DECLARED_IN_INTERFACE, fTopMethod);


Clone Instance
4
Line Count
4
Source Line
711
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

                                        RefactoringStatusContext context = JavaStatusContext.create(fTopMethod);
                                        String message = Messages.format(RefactoringCoreMessages.MethodChecks_overrides, 
                                                         new String[] {
                                                                       JavaElementUtil.createMethodSignature(fTopMethod), JavaModelUtil.getFullyQualifiedName(fTopMethod.getDeclaringType())
                                                                      } );
                                        return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.OVERRIDES_ANOTHER_METHOD, fTopMethod);


Clone AbstractionParameter Count: 3Parameter Bindings

RefactoringStatusContext context = JavaStatusContext.create( [[#variableba393e00]]);
String message = Messages.format(RefactoringCoreMessages. [[#variableba393da0]], new String[] {
                                                                                                JavaElementUtil.createMethodSignature( [[#variableba393e00]]),
                                                                                                JavaModelUtil.getFullyQualifiedName( [[#variableba393e00]].getDeclaringType())
                                                                                              } );
return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes. [[#variableba393d00]],  [[#variableba393e00]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba393e00]]
fTopMethod 
12[[#ba393e00]]
overrides 
13[[#ba393e00]]
inInterface 
14[[#ba393e00]]
fTopMethod 
21[[#ba393da0]]
MethodChecks_implements 
22[[#ba393da0]]
MethodChecks_overrides 
23[[#ba393da0]]
MethodChecks_implements 
24[[#ba393da0]]
MethodChecks_overrides 
31[[#ba393d00]]
METHOD_DECLARED_IN_INTERFACE 
32[[#ba393d00]]
OVERRIDES_ANOTHER_METHOD 
33[[#ba393d00]]
METHOD_DECLARED_IN_INTERFACE 
34[[#ba393d00]]
OVERRIDES_ANOTHER_METHOD