Class ExcludePrivateAnnotationsStandardDoclet
java.lang.Object
org.apache.hadoop.classification.tools.ExcludePrivateAnnotationsStandardDoclet
- All Implemented Interfaces:
Doclet
Doclet for excluding elements that are
annotated with
InterfaceAudience.Private
or InterfaceAudience.LimitedPrivate.
It delegates to the Standard Doclet, and takes the same options.-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.javadoc.doclet.Doclet
Doclet.Option -
Constructor Summary
ConstructorsConstructorDescriptionPublic no-arg constructor required by the Javadoc tool. -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidstatic SourceVersionReturns the source version used by this doclet.static intoptionLength(String option) Returns the length of a supported option.booleanrun(DocletEnvironment environment) static booleanstart(DocletEnvironment root) Legacy doclet entry point used by Javadoc.static booleanvalidOptions(String[][] options, Reporter reporter) Validates options before running the doclet.
-
Constructor Details
-
ExcludePrivateAnnotationsStandardDoclet
public ExcludePrivateAnnotationsStandardDoclet()Public no-arg constructor required by the Javadoc tool.
-
-
Method Details
-
languageVersion
Returns the source version used by this doclet.- Returns:
- the supported source version
-
start
Legacy doclet entry point used by Javadoc.- Parameters:
root- the doclet environment- Returns:
- true if the doclet completed successfully
-
optionLength
Returns the length of a supported option.- Parameters:
option- the option name- Returns:
- the number of arguments including the option itself
-
validOptions
Validates options before running the doclet.- Parameters:
options- the options to validatereporter- the reporter to use for diagnostics- Returns:
- true if the options are valid
-
init
-
getName
-
getSupportedOptions
- Specified by:
getSupportedOptionsin interfaceDoclet
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceDoclet
-
run
-