ataspectj
Class AjcLauncher

java.lang.Object
  extended by ataspectj.AjcLauncher

public class AjcLauncher
extends java.lang.Object

Class used to call the ajc compiler of Aspectj


Field Summary
 java.lang.String[] _params
          The parameters passed to the compiler
 
Constructor Summary
AjcLauncher(java.lang.String[] params)
          Stanadard constructor of the class;
 
Method Summary
static int ajc(java.lang.String[] args)
          Static method used to call the compiler ajc.
 int launchAjc()
          Method used to call ajc.
static void main(java.lang.String[] args)
          Main used to test the class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_params

public java.lang.String[] _params
The parameters passed to the compiler

Constructor Detail

AjcLauncher

public AjcLauncher(java.lang.String[] params)
Stanadard constructor of the class;

Parameters:
params - The parameters passed to the ajc compiler
Method Detail

main

public static void main(java.lang.String[] args)
Main used to test the class

Parameters:
args - the parameters to pass to the ajc compiler

ajc

public static int ajc(java.lang.String[] args)
Static method used to call the compiler ajc.

Parameters:
args - List of the parameters.
Returns:
int the exit value of the compiling process, -1 if there is an error

launchAjc

public int launchAjc()
Method used to call ajc.

Returns:
the exit code of the compiler process.