The compiler tree API is in the com.sun.source.doctree package. It provides several interfaces to document source-level comments. These APIs are represented as Abstract Syntax Trees (ASTs).
There are two enums:
- AttributeTree.ValueKind with the following constants:
- DOUBLE
- EMPTY
- SINGLE
- UNQUOTED
- DocTree.Kind with the following constants:
- ATTRIBUTE
- AUTHOR
- CODE
- COMMENT
- DEPRECATED
- DOC_COMMENT
- DOC_ROOT
- END_ELEMENT
- ENTITY
- ERRONEOUS
- EXCEPTION
- IDENTIFIER
- INHERIT_DOC
- LINK
- LINK_PLAIN
- LITERAL
- OTHER
- PARAM
- REFERENCE
- RETURN
- SEE
- SERIAL
- SERIAL_DATA
- SERIAL_FIELD
- SINCE
- START_ELEMENT
- TEXT
- THROWS
- UNKNOWN_BLOCK_TAG
- UNKNOWN_INLINE_TAG
- VALUE
- VERSION
The com.sun.source.doctree package contains several interfaces. They are detailed in the ...