org.acm.seguin.refactor.method
Class MethodRefactoringFactory

java.lang.Object
  extended by org.acm.seguin.refactor.method.MethodRefactoringFactory

public class MethodRefactoringFactory
extends java.lang.Object

Description of the Class

Author:
Chris Seguin

Constructor Summary
MethodRefactoringFactory()
           
 
Method Summary
 ExtractMethodRefactoring extractMethod()
          Extracts code from one method to create a new method
 MoveMethodRefactoring moveMethod()
          Moves the method into another class
 PushDownMethodRefactoring pushDownMethod()
          Moves the method into a child class
 PushUpAbstractMethodRefactoring pushUpAbstractMethod()
          Moves the method signature into the parent class
 PushUpMethodRefactoring pushUpMethod()
          Moves the method into the parent class
 RenameMethodRefactoring renameMethod()
          Moves the method into another class
 RenameParameterRefactoring renameParameter()
          Renames a parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodRefactoringFactory

public MethodRefactoringFactory()
Method Detail

pushUpMethod

public PushUpMethodRefactoring pushUpMethod()
Moves the method into the parent class

Returns:
Description of the Returned Value

pushUpAbstractMethod

public PushUpAbstractMethodRefactoring pushUpAbstractMethod()
Moves the method signature into the parent class

Returns:
Description of the Returned Value

pushDownMethod

public PushDownMethodRefactoring pushDownMethod()
Moves the method into a child class

Returns:
Description of the Returned Value

moveMethod

public MoveMethodRefactoring moveMethod()
Moves the method into another class

Returns:
Description of the Returned Value

renameMethod

public RenameMethodRefactoring renameMethod()
Moves the method into another class

Returns:
Description of the Returned Value

extractMethod

public ExtractMethodRefactoring extractMethod()
Extracts code from one method to create a new method

Returns:
Description of the Returned Value

renameParameter

public RenameParameterRefactoring renameParameter()
Renames a parameter

Returns:
Description of the Returned Value