org.acm.seguin.refactor.field
Class AddFieldTransform

java.lang.Object
  extended by org.acm.seguin.refactor.TransformAST
      extended by org.acm.seguin.refactor.field.AddFieldTransform

public class AddFieldTransform
extends TransformAST

Adds a field declaration to a AST

Author:
Chris Seguin

Constructor Summary
AddFieldTransform(net.sourceforge.jrefactory.ast.SimpleNode init)
          Constructor for the AddFieldTransform 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

AddFieldTransform

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

Parameters:
init - the field 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