org.acm.seguin.refactor.method
Class AddMethodTransform

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

public class AddMethodTransform
extends TransformAST

Adds a method declaration to a AST

Author:
Chris Seguin

Constructor Summary
AddMethodTransform(net.sourceforge.jrefactory.ast.SimpleNode init)
          Constructor for the AddMethodTransform object
 
Method Summary
 void update(net.sourceforge.jrefactory.ast.SimpleNode root)
          Updates the AST
 
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

AddMethodTransform

public AddMethodTransform(net.sourceforge.jrefactory.ast.SimpleNode init)
Constructor for the AddMethodTransform object

Parameters:
init - the method declaration to add
Method Detail

update

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

Specified by:
update in class TransformAST
Parameters:
root - the root of the AST