Package org.aspectj.tools.ajdoc
Class Main
java.lang.Object
org.aspectj.tools.ajdoc.Main
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.
- Author:
- Mik Kersten
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected static void
exit(int value)
static IMessage[]
static void
handleInternalError(Throwable uncaughtThrowable)
static boolean
static boolean
static void
static void
Resets the output working dir to be the default which is <the current directory>\ajdocworkingdirstatic void
setOutputWorkingDir(String fullyQulifiedOutputDir)
Sets the output working dir to be <fullyQualifiedOutputDir>\ajdocworkingdir.
-
Field Details
-
DECL_ID_STRING
- See Also:
- Constant Field Values
-
DECL_ID_TERMINATOR
- See Also:
- Constant Field Values
-
WORKING_DIR
- See Also:
- Constant Field Values
-
DIR_SEP_CHAR
- See Also:
- Constant Field Values
-
USAGE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
clearState
public static void clearState() -
main
-
exit
protected static void exit(int value) -
handleInternalError
-
hasAborted
public static boolean hasAborted() -
getErrors
-
hasShownAjdocUsageMessage
public static boolean hasShownAjdocUsageMessage() -
setOutputWorkingDir
Sets the output working dir to be <fullyQualifiedOutputDir>\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 <the current directory>\ajdocworkingdir
-