org.acm.seguin.refactor.method
Class RemoveMethodTransform

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

public class RemoveMethodTransform
extends TransformAST

A transform that removes a specific method

Author:
Chris Seguin

Constructor Summary
RemoveMethodTransform(MethodSummary init)
          Constructor for the RemoveMethodTransform object
 
Method Summary
 net.sourceforge.jrefactory.ast.SimpleNode getMethodDeclaration()
          Gets the MethodDeclaration attribute of the RemoveMethodTransform object
 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

RemoveMethodTransform

public RemoveMethodTransform(MethodSummary init)
Constructor for the RemoveMethodTransform object

Parameters:
init - the summary of the method
Method Detail

getMethodDeclaration

public net.sourceforge.jrefactory.ast.SimpleNode getMethodDeclaration()
Gets the MethodDeclaration attribute of the RemoveMethodTransform object

Returns:
The MethodDeclaration value

update

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

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