org.acm.seguin.refactor.method
Class RenameMethodTransform

java.lang.Object
  extended by org.acm.seguin.refactor.TransformAST
      extended by org.acm.seguin.refactor.method.RenameMethodTransform

public class RenameMethodTransform
extends TransformAST

A transform that renames a specific method

Since:
2.9.11
Author:
Mike Atkinson

Constructor Summary
RenameMethodTransform(MethodSummary oldMethod, java.lang.String newName)
          Constructor for the RemoveFieldTransform object
 
Method Summary
 void update(net.sourceforge.jrefactory.ast.SimpleNode root)
          Updates the root
 
Methods inherited from class org.acm.seguin.refactor.TransformAST
copyModifiers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameMethodTransform

public RenameMethodTransform(MethodSummary oldMethod,
                             java.lang.String newName)
Constructor for the RemoveFieldTransform object

Parameters:
oldName - Description of Parameter
newName - Description of Parameter
Method Detail

update

public void update(net.sourceforge.jrefactory.ast.SimpleNode root)
Updates the root

Specified by:
update in class TransformAST
Parameters:
root - the root node