Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.950 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 760 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java |
2 | 3 | 743 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java |
| ||||
if (type == null || ! type.exists()) return null; String msg = Messages.format(RefactoringCoreMessages.RenameTypeRefactoring_exists, new String[] { getNewElementName(), fType.getPackageFragment().getElementName() } ); |
| ||||
if (type == null || !type.exists()) return null; String message = Messages.format(RefactoringCoreMessages.MoveInnerToTopRefactoring_type_exists, new String[] { fType.getElementName(), fType.getPackageFragment().getElementName() } ); |
| |||
if (type == null || !type.exists()) return null; String [[#variable9ae544a0]]= Messages.format(RefactoringCoreMessages. [[#variable78069fe0]], new String[] { [[#variable9ae54540]], fType.getPackageFragment().getElementName() } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9ae544a0]] | msg |
1 | 2 | [[#9ae544a0]] | message |
2 | 1 | [[#78069fe0]] | RenameTypeRefactoring_exists |
2 | 2 | [[#78069fe0]] | MoveInnerToTopRefactoring_type_exists |
3 | 1 | [[#9ae54540]] | getNewElementName() |
3 | 2 | [[#9ae54540]] | fType.getElementName() |