CloneSet4649


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.987executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16100
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameNonVirtualMethodProcessor.java
26106
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameNonVirtualMethodProcessor.java
Clone Instance
1
Line Count
6
Source Line
100
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameNonVirtualMethodProcessor.java

                                                                                                                               {
                                        String message = Messages.format(
                                                 RefactoringCoreMessages.RenamePrivateMethodRefactoring_hierarchy_defines, 
                                                 new String[] {
                                                               JavaModelUtil.getFullyQualifiedName(
                                                          declaring                               ),
                                                                      name
                                                              }         );
                                        result.addError(message, context);
                                                                                                                               }


Clone Instance
2
Line Count
6
Source Line
106
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameNonVirtualMethodProcessor.java

                                      {
                                        String message = Messages.format(
                                                 RefactoringCoreMessages.RenamePrivateMethodRefactoring_hierarchy_defines2, 
                                                 new String[] {
                                                               JavaModelUtil.getFullyQualifiedName(
                                                          declaring                               ),
                                                                      name
                                                              }         );
                                        result.addWarning(message, context);
                                      }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  String message = Messages.format(RefactoringCoreMessages. [[#variable541a6400]], new String[] {
                                                                                                  JavaModelUtil.getFullyQualifiedName(declaring),
                                                                                                  name
                                                                                                } );
  result. [[#variable541a72c0]](message, context);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#541a6400]]
RenamePrivateMethodRefactoring_hierarchy_defines 
12[[#541a6400]]
RenamePrivateMethodRefactoring_hierarchy_defines2 
21[[#541a72c0]]
addError 
22[[#541a72c0]]
addWarning