org.acm.seguin.refactor.type
Class RenameParentTypeTransform

java.lang.Object
  extended by org.acm.seguin.refactor.TransformAST
      extended by org.acm.seguin.refactor.type.RenameParentTypeTransform

public class RenameParentTypeTransform
extends TransformAST

This object revises the import statements in the tree.

Author:
Chris Seguin

Constructor Summary
RenameParentTypeTransform()
           
 
Method Summary
 void setNewName(java.lang.String name)
          Sets the NewName attribute of the RenameParentTypeTransform object
 void setOldName(java.lang.String name)
          Sets the OldName attribute of the RenameParentTypeTransform object
 void setTypeSummary(TypeSummary value)
          Sets the TypeSummary attribute of the RenameParentTypeTransform object
 void update(net.sourceforge.jrefactory.ast.SimpleNode root)
          Update the syntax tree
 
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

RenameParentTypeTransform

public RenameParentTypeTransform()
Method Detail

setOldName

public void setOldName(java.lang.String name)
Sets the OldName attribute of the RenameParentTypeTransform object

Parameters:
name - The new OldName value

setNewName

public void setNewName(java.lang.String name)
Sets the NewName attribute of the RenameParentTypeTransform object

Parameters:
name - The new NewName value

setTypeSummary

public void setTypeSummary(TypeSummary value)
Sets the TypeSummary attribute of the RenameParentTypeTransform object

Parameters:
value - The new TypeSummary value

update

public void update(net.sourceforge.jrefactory.ast.SimpleNode root)
Update the syntax tree

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