|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.refactor.Refactoring
org.acm.seguin.refactor.method.RenameParameterRefactoring
public class RenameParameterRefactoring
Refactoring to allow a user to rename a parameter
| Field Summary |
|---|
| Fields inherited from class org.acm.seguin.refactor.Refactoring |
|---|
ADD_CHILD, ADD_PARENT, EXTRACT_INTERFACE, EXTRACT_METHOD, MOVE_METHOD, PUSH_DOWN_FIELD, PUSH_DOWN_METHOD, PUSH_UP_ABSTRACT_METHOD, PUSH_UP_FIELD, PUSH_UP_METHOD, REMOVE_CLASS, RENAME_CLASS, RENAME_FIELD, RENAME_METHOD, RENAME_PARAMETER, REPACKAGE |
| Constructor Summary | |
|---|---|
protected |
RenameParameterRefactoring()
Constructor for the RenameParameterRefactoring object |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the Description attribute of the RenameParameterRefactoring object |
int |
getID()
Gets the ID attribute of the RenameParameterRefactoring object |
protected void |
preconditions()
Description of the Method |
void |
setMethodSummary(MethodSummary value)
Sets the MethodSummary attribute of the RenameParameterRefactoring object |
void |
setNewName(java.lang.String value)
Sets the NewName attribute of the RenameParameterRefactoring object |
void |
setParameterSummary(ParameterSummary value)
Sets the ParameterSummary attribute of the RenameParameterRefactoring object |
protected void |
transform()
Perform the transformation |
| Methods inherited from class org.acm.seguin.refactor.Refactoring |
|---|
checkDestinationFile, getComplexTransform, run, setComplexTransform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RenameParameterRefactoring()
| Method Detail |
|---|
public void setNewName(java.lang.String value)
value - The new NewName valuepublic void setParameterSummary(ParameterSummary value)
value - The new ParameterSummary valuepublic void setMethodSummary(MethodSummary value)
value - The new MethodSummary valuepublic java.lang.String getDescription()
getDescription in class Refactoringpublic int getID()
getID in class Refactoring
protected void preconditions()
throws RefactoringException
preconditions in class RefactoringRefactoringException - Description of Exceptionprotected void transform()
transform in class Refactoring
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||