Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.978 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 102 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameEnumConstProcessor.java |
2 | 9 | 1001 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.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()); |
| ||||
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()); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97536b40]] | fType |
1 | 2 | [[#97536b40]] | declaring |
2 | 1 | [[#97536b20]] | RenameTypeProcessor_descriptor_description_short |
2 | 2 | [[#97536b20]] | RenameEnumConstProcessor_descriptor_description_short |
3 | 1 | [[#97536ae0]] | fType |
3 | 2 | [[#97536ae0]] | fField |