org.prorefactor.refactor.wrapproc
Class WrapProcedure

java.lang.Object
  extended by org.prorefactor.refactor.wrapproc.WrapProcedure

public class WrapProcedure
extends java.lang.Object

Wrap the procedural (non declarative) code of a .p into an internal PROCEDURE.


Constructor Summary
WrapProcedure(int topNode, Rollback rollback)
           
 
Method Summary
 void run()
          Launch this refactoring.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapProcedure

public WrapProcedure(int topNode,
                     Rollback rollback)
              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

run

public void run()
         throws java.io.IOException,
                RefactorException
Launch this refactoring. IMPORTANT: RefactorSession.enableParserListing() had to be in effect at the time that the call to parse() was made.

Throws:
java.io.IOException
RefactorException


Copyright © 2008 Joanju Software. All Rights Reserved.