org.acm.seguin.refactor.field
Class RemoveFieldTransform

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

public class RemoveFieldTransform
extends TransformAST

A transform that removes a specific field

Author:
Chris Seguin

Constructor Summary
RemoveFieldTransform(java.lang.String init)
          Constructor for the RemoveFieldTransform object
 
Method Summary
 net.sourceforge.jrefactory.ast.SimpleNode getFieldDeclaration()
          Gets the FieldDeclaration attribute of the RemoveFieldTransform 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

RemoveFieldTransform

public RemoveFieldTransform(java.lang.String init)
Constructor for the RemoveFieldTransform object

Parameters:
init - the name of the field
Method Detail

getFieldDeclaration

public net.sourceforge.jrefactory.ast.SimpleNode getFieldDeclaration()
Gets the FieldDeclaration attribute of the RemoveFieldTransform object

Returns:
The FieldDeclaration value

update

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

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