CloneSet2745


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.978statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19102
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameEnumConstProcessor.java
291001
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
Clone Instance
1
Line Count
9
Source Line
102
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameEnumConstProcessor.java

                        try {
                                if ( !Flags.isPrivate(declaring.getFlags()))
                                        flags |= RefactoringDescriptor.MULTI_CHANGE;
                                if (declaring.isAnonymous() || declaring.isLocal())
                                        flags |= JavaRefactoringDescriptor.JAR_SOURCE_ATTACHMENT;
                        } catch (JavaModelException exception) {
                                JavaPlugin.log(exception);
                          }
                        final String description = Messages.format(RefactoringCoreMessages.RenameEnumConstProcessor_descriptor_description_short, fField.getElementName());


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

                        try {
                                if ( !Flags.isPrivate(fType.getFlags()))
                                        flags |= RefactoringDescriptor.MULTI_CHANGE;
                                if (fType.isAnonymous() || fType.isLocal())
                                        flags |= JavaRefactoringDescriptor.JAR_SOURCE_ATTACHMENT;
                        } catch (JavaModelException exception) {
                                JavaPlugin.log(exception);
                          }
                        final String description = Messages.format(RefactoringCoreMessages.RenameTypeProcessor_descriptor_description_short, fType.getElementName());


Clone AbstractionParameter Count: 3Parameter Bindings

try {
  if ( !Flags.isPrivate( [[#variable97536b40]].getFlags()))
    flags |= RefactoringDescriptor.MULTI_CHANGE;
  if ( [[#variable97536b40]].isAnonymous() || [[#variable97536b40]].isLocal())
    flags |= JavaRefactoringDescriptor.JAR_SOURCE_ATTACHMENT;
}
catch (JavaModelException exception) {
  JavaPlugin.log(exception);
}
final String description = Messages.format(RefactoringCoreMessages. [[#variable97536b20]],  [[#variable97536ae0]].getElementName());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97536b40]]
fType 
12[[#97536b40]]
declaring 
21[[#97536b20]]
RenameTypeProcessor_descriptor_description_short 
22[[#97536b20]]
RenameEnumConstProcessor_descriptor_description_short 
31[[#97536ae0]]
fType 
32[[#97536ae0]]
fField