org.aspectj.tools.ajdoc
Class Main

java.lang.Object
  extended by org.aspectj.tools.ajdoc.Main

public class Main
extends java.lang.Object

This is an old implementation of ajdoc that does not use an OO style. However, it does the job, and should serve to evolve a lightweight ajdoc implementation until we can make a properly extended javadoc implementation.


Field Summary
static java.lang.String DECL_ID_STRING
           
static java.lang.String DECL_ID_TERMINATOR
           
static java.lang.String DIR_SEP_CHAR
           
static java.lang.String USAGE
           
static java.lang.String WORKING_DIR
           
 
Constructor Summary
Main()
           
 
Method Summary
static void clearState()
           
protected static void exit(int value)
           
static IMessage[] getErrors()
           
static void handleInternalError(java.lang.Throwable uncaughtThrowable)
           
static boolean hasAborted()
           
static boolean hasShownAjdocUsageMessage()
           
static void main(java.lang.String[] args)
           
static void resetOutputWorkingDir()
          Resets the output working dir to be the default which is \ajdocworkingdir
static void setOutputWorkingDir(java.lang.String fullyQulifiedOutputDir)
          Sets the output working dir to be \ajdocworkingdir Useful in testing to redirect the ajdocworkingdir to the sandbox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DECL_ID_STRING

public static final java.lang.String DECL_ID_STRING
See Also:
Constant Field Values

DECL_ID_TERMINATOR

public static final java.lang.String DECL_ID_TERMINATOR
See Also:
Constant Field Values

WORKING_DIR

public static final java.lang.String WORKING_DIR
See Also:
Constant Field Values

DIR_SEP_CHAR

public static final java.lang.String DIR_SEP_CHAR
See Also:
Constant Field Values

USAGE

public static final java.lang.String USAGE
See Also:
Constant Field Values
Constructor Detail

Main

public Main()
Method Detail

clearState

public static void clearState()

main

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

exit

protected static void exit(int value)

handleInternalError

public static void handleInternalError(java.lang.Throwable uncaughtThrowable)

hasAborted

public static boolean hasAborted()

getErrors

public static IMessage[] getErrors()

hasShownAjdocUsageMessage

public static boolean hasShownAjdocUsageMessage()

setOutputWorkingDir

public static void setOutputWorkingDir(java.lang.String fullyQulifiedOutputDir)
Sets the output working dir to be \ajdocworkingdir Useful in testing to redirect the ajdocworkingdir to the sandbox


resetOutputWorkingDir

public static void resetOutputWorkingDir()
Resets the output working dir to be the default which is \ajdocworkingdir