org.acm.seguin.refactor.type
Class AddImplementedInterfaceTransform

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

public class AddImplementedInterfaceTransform
extends TransformAST

This object will add a new interface to the implements clause of a class declaration. If no implements clause exists, one will be added.

Author:
Grant Watson

Constructor Summary
AddImplementedInterfaceTransform(net.sourceforge.jrefactory.ast.ASTName interfaceName)
          Constructor for the AddImplementsTransform object
 
Method Summary
 void update(net.sourceforge.jrefactory.ast.SimpleNode root)
          Description of the Method
 
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

AddImplementedInterfaceTransform

public AddImplementedInterfaceTransform(net.sourceforge.jrefactory.ast.ASTName interfaceName)
Constructor for the AddImplementsTransform object

Parameters:
interfaceName - Description of Parameter
Method Detail

update

public void update(net.sourceforge.jrefactory.ast.SimpleNode root)
Description of the Method

Specified by:
update in class TransformAST
Parameters:
root - Description of Parameter