CloneSet2438


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.992statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151493
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
261499
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
Clone Instance
1
Line Count
5
Source Line
1493
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                        if (warning.isSelectionWarning()) {
                                String message = Messages.format(RefactoringCoreMessages.RenameTypeProcessor_deselected_method_is_overridden, 
                                                 new String[] {
                                                                JavaElementLabels.getElementLabel(elements[0], JavaElementLabels.ALL_DEFAULT),
                                                                 JavaElementLabels.getElementLabel(elements[0].getDeclaringType(), JavaElementLabels.ALL_DEFAULT)
                                                              } );
                                status.addWarning(message);
                        }


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

                        if (warning.isNameWarning()) {
                                String message = Messages.format(
                                                 RefactoringCoreMessages.RenameTypeProcessor_renamed_method_is_overridden, new String[] {
                                                                 JavaElementLabels.getElementLabel(elements[0], JavaElementLabels.ALL_DEFAULT),
                                                                 JavaElementLabels.getElementLabel(elements[0].getDeclaringType(), JavaElementLabels.ALL_DEFAULT)
                                                                                                                                        } );
                                status.addWarning(message);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (warning. [[#variable941de740]]()) {
  String message = Messages.format(RefactoringCoreMessages. [[#variable941de760]], new String[] {
                                                                                                  JavaElementLabels.getElementLabel(elements[0], JavaElementLabels.ALL_DEFAULT),
                                                                                                  JavaElementLabels.getElementLabel(elements[0].getDeclaringType(), JavaElementLabels.ALL_DEFAULT)
                                                                                                } );
  status.addWarning(message);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#941de740]]
isSelectionWarning 
12[[#941de740]]
isNameWarning 
21[[#941de760]]
RenameTypeProcessor_deselected_method_is_overridden 
22[[#941de760]]
RenameTypeProcessor_renamed_method_is_overridden