Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.971 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 2941 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
2 | 7 | 2995 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
| ||||
/** * Sets the new method name. * * @param name * the name to set * @return the status of the operation */ public final RefactoringStatus setMethodName( final String name) { Assert.isNotNull(name); RefactoringStatus status = Checks.checkMethodName(name); if (status.hasFatalError()) return status; fMethodName = name; return status; } |
| ||||
/** * Sets the new target name. * * @param name * the name to set * @return the status of the operation */ public final RefactoringStatus setTargetName( final String name) { Assert.isNotNull(name); final RefactoringStatus status = Checks.checkTempName(name); if (status.hasFatalError()) return status; fTargetName = name; return status; } |
| |||
/** * Sets the new method name. * * @param name * the name to set * @return the status of the operation */ /** * Sets the new target name. * * @param name * the name to set * @return the status of the operation */ public final RefactoringStatus [[#variable92ad6840]]( final String name) { Assert.isNotNull(name); [[#variable92ad67e0]]RefactoringStatus status = Checks. [[#variable92ad6720]](name); if (status.hasFatalError()) return status; [[#variable92ad66c0]]= name; return status; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#92ad6840]] | setMethodName |
1 | 2 | [[#92ad6840]] | setTargetName |
2 | 1 | [[#92ad67e0]] | |
2 | 2 | [[#92ad67e0]] | final |
3 | 1 | [[#92ad6720]] | checkMethodName |
3 | 2 | [[#92ad6720]] | checkTempName |
4 | 1 | [[#92ad66c0]] | fMethodName |
4 | 2 | [[#92ad66c0]] | fTargetName |