classUtils.javassist.preproc
Class Compiler

java.lang.Object
  extended by classUtils.javassist.preproc.Compiler

public class Compiler
extends java.lang.Object

This is a preprocessor for Java source programs using annotated import declarations.

To process this annotation, run this class as follows:

This command produces sample.java, which only includes regular import declarations. Also, the Javassist program specified by assistant-name is executed so that it produces class files under the ./tmpjvst directory. The class specified by assistant-name must implement javassist.preproc.Assistant.

See Also:
Assistant

Constructor Summary
Compiler(java.lang.String inputname)
          Constructs a Compiler with a source file.
 
Method Summary
static void main(java.lang.String[] args)
           
 void process()
          Starts preprocessing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler

public Compiler(java.lang.String inputname)
         throws CannotCompileException
Constructs a Compiler with a source file.

Parameters:
inputname - the name of the source file.
Throws:
CannotCompileException
Method Detail

process

public void process()
             throws java.io.IOException,
                    CannotCompileException
Starts preprocessing.

Throws:
java.io.IOException
CannotCompileException

main

public static void main(java.lang.String[] args)