Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 55 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameTypeWizard.java |
2 | 10 | 776 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameTypeWizardSimilarElementsPage.java |
| ||||
public RenameTypeProcessor getRenameTypeProcessor() { RefactoringProcessor proc = ((RenameRefactoring) getRefactoring()).getProcessor(); if (proc instanceof RenameTypeProcessor) return (RenameTypeProcessor) proc; else if (proc instanceof RenameCompilationUnitProcessor) { RenameCompilationUnitProcessor rcu = (RenameCompilationUnitProcessor) proc; return rcu.getRenameTypeProcessor(); } Assert.isTrue(false); // Should never get here return null; } |
| ||||
public RenameTypeProcessor getRenameTypeProcessor() { RefactoringProcessor proc = ((RenameRefactoring) getRefactoring()).getProcessor(); if (proc instanceof RenameTypeProcessor) return (RenameTypeProcessor) proc; else if (proc instanceof RenameCompilationUnitProcessor) { RenameCompilationUnitProcessor rcu = (RenameCompilationUnitProcessor) proc; return rcu.getRenameTypeProcessor(); } Assert.isTrue(false); // Should never get here return null; } |
| |||
public RenameTypeProcessor getRenameTypeProcessor() { RefactoringProcessor proc = ((RenameRefactoring) getRefactoring()).getProcessor(); if (proc instanceof RenameTypeProcessor) return (RenameTypeProcessor) proc; else if (proc instanceof RenameCompilationUnitProcessor) { RenameCompilationUnitProcessor rcu = (RenameCompilationUnitProcessor) proc; return rcu.getRenameTypeProcessor(); } Assert.isTrue(false); // Should never get here return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |