Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.963 | type_declarations |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 27 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameCompilationUnitRefactoringContribution.java |
2 | 7 | 27 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameMethodRefactoringContribution.java |
| ||||
/** * Refactoring contribution for the rename compilation unit refactoring. * * @since 3.2 */ public final class RenameCompilationUnitRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new JavaRenameRefactoring(new RenameCompilationUnitProcessor(null)); } } |
| ||||
/** * Refactoring contribution for the rename method refactoring. * * @since 3.2 */ public final class RenameMethodRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws JavaModelException { return new JavaRenameRefactoring(new RenameVirtualMethodProcessor(null)); } } |
| |||
/** * Refactoring contribution for the rename method refactoring. * * @since 3.2 */ /** * Refactoring contribution for the rename compilation unit refactoring. * * @since 3.2 */ public final class [[#variablea33d4480]]extends JavaRefactoringContribution { /** * {@inheritDoc} */ public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws [[#variablea33d4420]]{ return new JavaRenameRefactoring(new [[#variablea33d43a0]](null)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a33d4480]] | RenameMethodRefactoringContribution |
1 | 2 | [[#a33d4480]] | RenameCompilationUnitRefactoringContribution |
2 | 1 | [[#a33d4420]] | JavaModelException |
2 | 2 | [[#a33d4420]] | CoreException |
3 | 1 | [[#a33d43a0]] | RenameVirtualMethodProcessor |
3 | 2 | [[#a33d43a0]] | RenameCompilationUnitProcessor |