public class ReverseEngineerJavaDoclet extends com.sun.javadoc.Doclet
The model created presents correctly the real packages, classes, interfaces, methods and attributes:
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_MODEL
Doclet command-line parameter with the name of the model to construct
|
static String |
PARAMETER_TARGET_FILE
Doclet command-line parameter to specify the absolute file name of the model to produce
|
static String |
PARAMETER_WORK_DIR
Doclet command-line parameter to specify the directory of model file to produce
|
| Modifier and Type | Method and Description |
|---|---|
static com.sun.javadoc.LanguageVersion |
languageVersion()
Indicates support of generics and annotations
|
static int |
optionLength(String option)
This method is required by the doclet convention.
|
static boolean |
start(com.sun.javadoc.RootDoc root)
The doclet entry point as of Doclet interface specified.
|
static boolean |
validOptions(String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
This method parses the option parameters and sets the proper parameters of this doclet
|
public static final String PARAMETER_TARGET_FILE
public static final String PARAMETER_WORK_DIR
public static final String PARAMETER_MODEL
public static boolean start(com.sun.javadoc.RootDoc root)
root - Doclet.start(com.sun.javadoc.RootDoc)public static int optionLength(String option)
option - is the non-null, not empty option name to read parameters ofDoclet.optionLength(java.lang.String)public static boolean validOptions(String[][] options, com.sun.javadoc.DocErrorReporter reporter)
options - reporter - Doclet.validOptions(java.lang.String[][],
com.sun.javadoc.DocErrorReporter)public static com.sun.javadoc.LanguageVersion languageVersion()
Copyright © 2001–2018 MDA Tools. All rights reserved.