| |
|
| org.acm.seguin.refactor.method.MethodRefactoring org.acm.seguin.refactor.method.RenameMethodRefactoring
RenameMethodRefactoring | public class RenameMethodRefactoring extends MethodRefactoring (Code) | | Moves a method from one class to another. Generally used to move a method into a local variable or a parameter.
author: CMike Atkinson since: 2.9.11 |
RenameMethodRefactoring | public RenameMethodRefactoring()(Code) | | Constructor for the MoveMethodRefactoring object
since: empty |
getDescription | public String getDescription()(Code) | | Gets the description of the refactoring
the description since: empty |
getID | public int getID()(Code) | | Gets the ID attribute of the MoveMethodRefactoring object
The ID value since: empty |
preconditions | protected void preconditions() throws RefactoringException(Code) | | Describes the preconditions that must be true for this refactoring to be applied
exception: RefactoringException - thrown if one or more of the preconditions is not satisfied. The text of theexception provides a hint of what went wrong. since: empty |
setMethod | public void setMethod(MethodSummary value)(Code) | | Sets the Method attribute of the MoveMethodRefactoring object
Parameters: value - The new Method value since: empty |
setNewMethodName | public void setNewMethodName(String newName)(Code) | | Sets the Destination attribute of the MoveMethodRefactoring object
Parameters: newName - The new newMethodName value since: empty |
transform | protected void transform()(Code) | | Performs the transform on the rest of the classes
since: empty |
|
|
|