public final class JavadocTokenTypes extends Object
Modifier and Type | Field and Description |
---|---|
static int |
AREA_HTML_TAG_NAME
Area tag name.
|
static int |
AREA_TAG
Area html tag.
|
static int |
ARGUMENT
Argument definition in
PARAMETERS part of REFERENCE . |
static int |
ATTR_VALUE
Attribute value html tag component.
|
static int |
ATTRIBUTE
Html tag attribute.
|
static int |
AUTHOR_LITERAL
'@author' literal in @author Javadoc tag.
|
static int |
BASE_HTML_TAG_NAME
Base tag name.
|
static int |
BASE_TAG
Base html tag.
|
static int |
BASEFONT_HTML_TAG_NAME
Basefont tag name.
|
static int |
BASEFONT_TAG
Basefont html tag.
|
static int |
BODY
Body html tag.
|
static int |
BODY_HTML_TAG_NAME
Body tag name.
|
static int |
BODY_TAG_END
End body tag.
|
static int |
BODY_TAG_START
Start body tag.
|
static int |
BR_HTML_TAG_NAME
Br tag name.
|
static int |
BR_TAG
Br html tag.
|
static int |
CDATA
<![CDATA[...]]> block.
|
static int |
CHAR
Any other symbol.
|
static int |
CLASS_NAME
Exception class name.
|
static int |
CODE_LITERAL
'@code' literal in {@code} Javadoc inline tag.
|
static int |
COL_HTML_TAG_NAME
Col tag name.
|
static int |
COL_TAG
Col html tag.
|
static int |
COLGROUP
Colgroup html tag.
|
static int |
COLGROUP_HTML_TAG_NAME
Colgroup tag name.
|
static int |
COLGROUP_TAG_END
End colgroup tag.
|
static int |
COLGROUP_TAG_START
Start colgroup tag.
|
static int |
COMMA
Comma separator between parameters in
PARAMETERS part of REFERENCE . |
static int |
CUSTOM_NAME
Name of custom Javadoc tag (or Javadoc inline tag).
|
static int |
DD
Description of a term html tag:
<dd></dd> . |
static int |
DD_HTML_TAG_NAME
Description of a term tag name.
|
static int |
DD_TAG_END
End description of a term tag.
|
static int |
DD_TAG_START
Start description of a term tag.
|
static int |
DEPRECATED_LITERAL
'@deprecated' literal in @deprecated Javadoc tag.
|
static int |
DESCRIPTION
Description node.
|
static int |
DOC_ROOT_LITERAL
'@docRoot' literal in {@docRoot} Javadoc inline tag.
|
static int |
DT
Description term html tag:
<dt></dt> . |
static int |
DT_HTML_TAG_NAME
Description term tag name.
|
static int |
DT_TAG_END
End description term tag.
|
static int |
DT_TAG_START
Start description term tag.
|
static int |
EMBED_HTML_TAG_NAME
"embed" tag name.
|
static int |
EMBED_TAG
HTML void element
<embed> . |
static int |
EMPTY_TAG
Non-special empty html tag.
|
static int |
END
End html tag component:
'>' . |
static int |
EOF
End Of File symbol.
|
static int |
EQUALS
Equals html tag component:
'=' . |
static int |
EXCEPTION_LITERAL
'@exception' literal in @exception Javadoc tag.
|
static int |
FIELD_NAME
Field name.
|
static int |
FIELD_TYPE
Field type.
|
static int |
FRAME_HTML_TAG_NAME
Frame tag name.
|
static int |
FRAME_TAG
Frame html tag.
|
static int |
HASH
Hash character in
REFERENCE . |
static int |
HEAD
Head html tag.
|
static int |
HEAD_HTML_TAG_NAME
Head tag name.
|
static int |
HEAD_TAG_END
End head tag.
|
static int |
HEAD_TAG_START
Start head tag.
|
static int |
HR_HTML_TAG_NAME
Hr tag name.
|
static int |
HR_TAG
Hr html tag.
|
static int |
HTML
Html html tag.
|
static int |
HTML_COMMENT
Html comment:
<!-- --> . |
static int |
HTML_COMMENT_END
HTML comment end symbol '-->'.
|
static int |
HTML_COMMENT_START
HTML comment start symbol '<!--'.
|
static int |
HTML_ELEMENT
Parent node for all html tags.
|
static int |
HTML_ELEMENT_END
End html tag: <XXX>.
|
static int |
HTML_ELEMENT_START
Start html tag: <XXX>.
|
static int |
HTML_HTML_TAG_NAME
Html tag name.
|
static int |
HTML_TAG
Non-special HTML tag.
|
static int |
HTML_TAG_END
End html tag.
|
static int |
HTML_TAG_NAME
Identifier inside HTML tag: tag name or attribute name.
|
static int |
HTML_TAG_START
Start html tag.
|
static int |
IMG_HTML_TAG_NAME
Img tag name.
|
static int |
IMG_TAG
Img html tag.
|
static int |
INHERIT_DOC_LITERAL
'@inheritDoc' literal in {@inheritDoc} Javadoc inline tag.
|
static int |
INPUT_HTML_TAG_NAME
Input tag name.
|
static int |
INPUT_TAG
Input html tag.
|
static int |
ISINDEX_HTML_TAG_NAME
Isindex tag name.
|
static int |
ISINDEX_TAG
Isindex html tag.
|
static int |
JAVADOC
Root node of any Javadoc comment.
|
static int |
JAVADOC_INLINE_TAG
Javadoc inline tag.
|
static int |
JAVADOC_INLINE_TAG_END
Last child of
JAVADOC_INLINE_TAG that represents right curly brace '}'. |
static int |
JAVADOC_INLINE_TAG_START
First child of
JAVADOC_INLINE_TAG that represents left curly brace '{'. |
static int |
JAVADOC_TAG
Javadoc tag.
|
static int |
KEYGEN_HTML_TAG_NAME
"keygen" tag name.
|
static int |
KEYGEN_TAG
HTML void element
<keygen> . |
static int |
LEADING_ASTERISK
Leading asterisk.
|
static int |
LEFT_BRACE
Left brace in
PARAMETERS part of REFERENCE . |
static int |
LI
List item html tag:
<li></li> . |
static int |
LI_HTML_TAG_NAME
List item tag name.
|
static int |
LI_TAG_END
End list item tag.
|
static int |
LI_TAG_START
Start list item tag.
|
static int |
LINK_HTML_TAG_NAME
Link tag name.
|
static int |
LINK_LITERAL
'@link' literal in {@link} Javadoc inline tag.
|
static int |
LINK_TAG
Link html tag.
|
static int |
LINKPLAIN_LITERAL
'@linkplain' literal in {@linkplain} Javadoc inline tag.
|
static int |
LITERAL_EXCLUDE
'exclude' literal.
|
static int |
LITERAL_INCLUDE
'include' literal.
|
static int |
LITERAL_LITERAL
'@literal' literal in {@literal} Javadoc inline tag.
|
static int |
MEMBER
A class member in
REFERENCE . |
static int |
META_HTML_TAG_NAME
Meta tag name.
|
static int |
META_TAG
Meta html tag.
|
static int |
NEWLINE
Newline symbol - '\n'.
|
static int |
OPTION
Option html tag.
|
static int |
OPTION_HTML_TAG_NAME
Option tag name.
|
static int |
OPTION_TAG_END
End option tag.
|
static int |
OPTION_TAG_START
Start option tag.
|
static int |
P_HTML_TAG_NAME
Paragraph tag name.
|
static int |
P_TAG_END
End paragraph tag.
|
static int |
P_TAG_START
Start paragraph tag.
|
static int |
PACKAGE_CLASS
PACKAGE_CLASS represents the package or class which has been referenced in the `@see`,
`@link`, `@linkplain` or `@value` javadoc tags.
|
static int |
PARAGRAPH
Paragraph html tag: {@code
|
static int |
PARAM_HTML_TAG_NAME
Param tag name.
|
static int |
PARAM_LITERAL
'@param' literal in @param Javadoc tag.
|
static int |
PARAM_TAG
Param html tag.
|
static int |
PARAMETER_NAME
First argument in
@param Javadoc tag. |
static int |
PARAMETERS
Parameters part in
REFERENCE . |
static int |
REFERENCE
Parameter of the Javadoc tags listed below.
|
static int |
RETURN_LITERAL
'@return' literal in @return Javadoc tag.
|
static int |
RIGHT_BRACE
Right brace in
PARAMETERS part of REFERENCE . |
static int |
SEE_LITERAL
'@see' literal in @see Javadoc tag.
|
static int |
SERIAL_DATA_LITERAL
'@serialData' literal in @serialData Javadoc tag.
|
static int |
SERIAL_FIELD_LITERAL
'@serialField' literal in @serialField Javadoc tag.
|
static int |
SERIAL_LITERAL
'@serial' literal in @serial Javadoc tag.
|
static int |
SINCE_LITERAL
'@since' literal in @since Javadoc tag.
|
static int |
SINGLETON_ELEMENT
Parent node for all singleton html tags.
|
static int |
SLASH
Slash html tag component:
'/' . |
static int |
SLASH_END
Slash close html tag component:
'/>' . |
static int |
SOURCE_HTML_TAG_NAME
"source" tag name.
|
static int |
SOURCE_TAG
HTML void element
<source> . |
static int |
START
Start html tag component:
'<' . |
static int |
STRING
Quoted text.
|
static int |
TBODY
Table body html tag.
|
static int |
TBODY_HTML_TAG_NAME
Table body tag name.
|
static int |
TBODY_TAG_END
End table body tag.
|
static int |
TBODY_TAG_START
Start table body tag.
|
static int |
TD
Table cell html tag:
<td></td> . |
static int |
TD_HTML_TAG_NAME
Table cell tag name.
|
static int |
TD_TAG_END
End table cell tag.
|
static int |
TD_TAG_START
Start table cell tag.
|
static int |
TEXT
CHAR and WS sequence.
|
static int |
TFOOT
Table foot html tag.
|
static int |
TFOOT_HTML_TAG_NAME
Table foot tag name.
|
static int |
TFOOT_TAG_END
End table foot tag.
|
static int |
TFOOT_TAG_START
Start table foot tag.
|
static int |
TH
Table header cell html tag:
<th></th> . |
static int |
TH_HTML_TAG_NAME
Table header cell tag name.
|
static int |
TH_TAG_END
End table header cell tag.
|
static int |
TH_TAG_START
Start table header cell tag.
|
static int |
THEAD
Table head html tag.
|
static int |
THEAD_HTML_TAG_NAME
Table head tag name.
|
static int |
THEAD_TAG_END
End table head tag.
|
static int |
THEAD_TAG_START
Start table head tag.
|
static int |
THROWS_LITERAL
'@throws' literal in @throws Javadoc tag.
|
static int |
TR
Table row html tag:
<tr></tr> . |
static int |
TR_HTML_TAG_NAME
Table row tag name.
|
static int |
TR_TAG_END
End table row tag.
|
static int |
TR_TAG_START
Start table row tag.
|
static int |
TRACK_HTML_TAG_NAME
"track" tag name.
|
static int |
TRACK_TAG
HTML void element
<track> . |
static int |
VALUE_LITERAL
'@value' literal in {@value} Javadoc inline tag.
|
static int |
VERSION_LITERAL
'@version' literal in @version Javadoc tag.
|
static int |
WBR_HTML_TAG_NAME
"wbr" tag name.
|
static int |
WBR_TAG
HTML void element
<wbr> . |
static int |
WS
Whitespace or tab ('\t') symbol.
|
public static final int RETURN_LITERAL
Such Javadoc tag can have one argument - DESCRIPTION
Example:
@return true if file exists
Tree:
|--JAVADOC_TAG[4x3] : [@return true if file exists]
|--RETURN_LITERAL[4x3] : [@return]
|--WS[4x10] : [ ]
|--DESCRIPTION[4x11] : [true if file exists]
|--TEXT[4x11] : [true if file exists]
JAVADOC_TAG
,
Constant Field Valuespublic static final int DEPRECATED_LITERAL
Such Javadoc tag can have one argument - DESCRIPTION
Example:
@deprecated it is deprecated method
Tree:
|--JAVADOC_TAG[3x0] : [@deprecated it is deprecated method]
|--DEPRECATED_LITERAL[3x0] : [@deprecated]
|--WS[3x11] : [ ]
|--DESCRIPTION[3x12] : [it is deprecated method]
|--TEXT[3x12] : [it is deprecated method]
JAVADOC_TAG
,
Constant Field Valuespublic static final int SINCE_LITERAL
Such Javadoc tag can have one argument - DESCRIPTION
Example:
@since 3.4 RELEASE
Tree:
|--JAVADOC_TAG[3x0] : [@since 3.4 RELEASE]
|--SINCE_LITERAL[3x0] : [@since]
|--WS[3x6] : [ ]
|--DESCRIPTION[3x7] : [3.4 RELEASE]
|--TEXT[3x7] : [3.4 RELEASE]
JAVADOC_TAG
,
Constant Field Valuespublic static final int SERIAL_DATA_LITERAL
Such Javadoc tag can have one argument - DESCRIPTION
Example:
@serialData two values of Integer type
Tree:
|--JAVADOC_TAG[3x0] : [@serialData two values of Integer type ]
|--SERIAL_DATA_LITERAL[3x0] : [@serialData]
|--WS[3x11] : [ ]
|--DESCRIPTION[3x12] : [two values of Integer type ]
|--TEXT[3x12] : [two values of Integer type ]
JAVADOC_TAG
,
Constant Field Valuespublic static final int SERIAL_FIELD_LITERAL
Such Javadoc tag can have three arguments:
Example:
@serialField counter Integer objects counter
Tree:
|--JAVADOC_TAG[3x0] : [@serialField counter Integer objects counter]
|--SERIAL_FIELD_LITERAL[3x0] : [@serialField]
|--WS[3x12] : [ ]
|--FIELD_NAME[3x13] : [counter]
|--WS[3x20] : [ ]
|--FIELD_TYPE[3x21] : [Integer]
|--WS[3x28] : [ ]
|--DESCRIPTION[3x29] : [objects counter]
|--TEXT[3x29] : [objects counter]
JAVADOC_TAG
,
Constant Field Valuespublic static final int PARAM_LITERAL
Such Javadoc tag can have two arguments:
Example:
@param T The bar.
Tree:
|--JAVADOC_TAG[4x3] : [@param T The bar.]
|--PARAM_LITERAL[4x3] : [@param]
|--WS[4x9] : [ ]
|--PARAMETER_NAME[4x10] : [T]
|--WS[4x11] : [ ]
|--DESCRIPTION[4x12] : [The bar.]
|--TEXT[4x12] : [The bar.]
JAVADOC_TAG
,
Constant Field Valuespublic static final int SEE_LITERAL
Such Javadoc tag can have one argument - REFERENCE
Example:
@see org.apache.utils.Lists.Comparator#compare(Object)
Tree:
|--JAVADOC_TAG[3x0] : [@see org.apache.utils.Lists.Comparator#compare(Object)]
|--SEE_LITERAL[3x0] : [@see]
|--WS[3x4] : [ ]
|--REFERENCE[3x5] : [org.apache.utils.Lists.Comparator#compare(Object)]
|--PACKAGE_CLASS[3x5] : [org.apache.utils]
|--DOT[3x21] : [.]
|--CLASS[3x22] : [Lists]
|--DOT[3x27] : [.]
|--CLASS[3x28] : [Comparator]
|--HASH[3x38] : [#]
|--MEMBER[3x39] : [compare]
|--PARAMETERS[3x46] : [(Object)]
|--LEFT_BRACE[3x46] : [(]
|--ARGUMENT[3x47] : [Object]
|--RIGHT_BRACE[3x53] : [)]
JAVADOC_TAG
,
Constant Field Valuespublic static final int SERIAL_LITERAL
Such Javadoc tag can have one argument - REFERENCE
or LITERAL_EXCLUDE
or LITERAL_INCLUDE
Example:
@serial include
Tree:
|--JAVADOC_TAG[3x0] : [@serial include]
|--SERIAL_LITERAL[3x0] : [@serial]
|--WS[3x7] : [ ]
|--LITERAL_INCLUDE[3x8] : [include]
Example:
@serial serialized company name
Tree:
|--JAVADOC_TAG[3x0] : [@serial serialized company name]
|--SERIAL_LITERAL[3x0] : [@serial]
|--WS[3x7] : [ ]
|--DESCRIPTION[3x8] : [serialized company name]
|--TEXT[3x8] : [serialized company name]
JAVADOC_TAG
,
Constant Field Valuespublic static final int VERSION_LITERAL
Such Javadoc tag can have one argument - DESCRIPTION
Example:
@version 1.3
Tree:
|--JAVADOC_TAG[3x0] : [@version 1.3]
|--VERSION_LITERAL[3x0] : [@version]
|--WS[3x8] : [ ]
|--DESCRIPTION[3x9] : [1.3]
|--TEXT[3x9] : [1.3]
JAVADOC_TAG
,
Constant Field Valuespublic static final int EXCEPTION_LITERAL
Such Javadoc tag can have two argument - CLASS_NAME
and DESCRIPTION
Example:
@exception SQLException if query is not correct
Tree:
|--JAVADOC_TAG[3x0] : [@exception SQLException if query is not correct]
|--EXCEPTION_LITERAL[3x0] : [@exception]
|--WS[3x10] : [ ]
|--CLASS_NAME[3x11] : [SQLException]
|--WS[3x23] : [ ]
|--DESCRIPTION[3x24] : [if query is not correct]
|--TEXT[3x24] : [if query is not correct]
JAVADOC_TAG
,
Constant Field Valuespublic static final int THROWS_LITERAL
Such Javadoc tag can have two argument - CLASS_NAME
and DESCRIPTION
Example:
@throws SQLException if query is not correct
Tree:
|--JAVADOC_TAG[3x0] : [@throws SQLException if query is not correct]
|--THROWS_LITERAL[3x0] : [@throws]
|--WS[3x7] : [ ]
|--CLASS_NAME[3x8] : [SQLException]
|--WS[3x20] : [ ]
|--DESCRIPTION[3x21] : [if query is not correct]
|--TEXT[3x21] : [if query is not correct]
JAVADOC_TAG
,
Constant Field Valuespublic static final int AUTHOR_LITERAL
Such Javadoc tag can have one argument - DESCRIPTION
Example:
@author Baratali Izmailov
Tree:
|--JAVADOC_TAG[3x0] : [@author Baratali Izmailov]
|--AUTHOR_LITERAL[3x0] : [@author]
|--WS[3x7] : [ ]
|--DESCRIPTION[3x8] : [Baratali Izmailov]
|--TEXT[3x8] : [Baratali Izmailov]
JAVADOC_TAG
,
Constant Field Valuespublic static final int CUSTOM_NAME
Such Javadoc tag can have one argument - DESCRIPTION
Example:
@myJavadocTag some magic
Tree:
|--JAVADOC_TAG[3x0] : [@myJavadocTag some magic]
|--CUSTOM_NAME[3x0] : [@myJavadocTag]
|--WS[3x13] : [ ]
|--DESCRIPTION[3x14] : [some magic]
|--TEXT[3x14] : [some magic]
public static final int JAVADOC_INLINE_TAG_START
JAVADOC_INLINE_TAG
that represents left curly brace '{'.
Example:
{@code Comparable<E>}
Tree:
|--JAVADOC_INLINE_TAG[3x0] : [{@code Comparable<E>}]
|--JAVADOC_INLINE_TAG_START[3x0] : [{]
|--CODE_LITERAL[3x1] : [@code]
|--WS[3x6] : [ ]
|--TEXT[3x7] : [Comparable<E>]
|--JAVADOC_INLINE_TAG_END[3x21] : [}]
public static final int JAVADOC_INLINE_TAG_END
JAVADOC_INLINE_TAG
that represents right curly brace '}'.
Example:
{@code Comparable<E>}
Tree:
|--JAVADOC_INLINE_TAG[3x0] : [{@code Comparable<E>}]
|--JAVADOC_INLINE_TAG_START[3x0] : [{]
|--CODE_LITERAL[3x1] : [@code]
|--WS[3x6] : [ ]
|--TEXT[3x7] : [Comparable<E>]
|--JAVADOC_INLINE_TAG_END[3x21] : [}]
public static final int CODE_LITERAL
Such Javadoc inline tag can have such child nodes:
Example:
{@code Comparable<E>}
Tree:
|--JAVADOC_INLINE_TAG[3x0] : [{@code Comparable<E>}]
|--JAVADOC_INLINE_TAG_START[3x0] : [{]
|--CODE_LITERAL[3x1] : [@code]
|--WS[3x6] : [ ]
|--TEXT[3x7] : [Comparable<E>]
|--JAVADOC_INLINE_TAG_END[3x21] : [}]
JAVADOC_INLINE_TAG
,
Constant Field Valuespublic static final int DOC_ROOT_LITERAL
Such Javadoc inline tag does not have any arguments and can have such child nodes:
Example:
{@docRoot}
Tree:
|--JAVADOC_INLINE_TAG[1x0] : [{@docRoot}]
|--JAVADOC_INLINE_TAG_START[1x0] : [{]
|--DOC_ROOT_LITERAL[1x1] : [@docRoot]
|--JAVADOC_INLINE_TAG_END[2x0] : [}]
Example:
{@docRoot
}
Tree:
|--JAVADOC_INLINE_TAG[1x0] : [{@docRoot \n}]
|--JAVADOC_INLINE_TAG_START[1x0] : [{]
|--DOC_ROOT_LITERAL[1x1] : [@docRoot]
|--WS[1x9] : [ ]
|--NEWLINE[1x10] : [\n]
|--JAVADOC_INLINE_TAG_END[2x0] : [}]
JAVADOC_INLINE_TAG
,
Constant Field Valuespublic static final int LINK_LITERAL
Such Javadoc inline tag can have one argument - REFERENCE
Example:
{@link org.apache.utils.Lists.Comparator#compare(Object)}
Tree:
|--JAVADOC_INLINE_TAG[1x0] :
[{@link org.apache.utils.Lists.Comparator#compare(Object)}]
|--JAVADOC_INLINE_TAG_START[1x0] : [{]
|--LINK_LITERAL[1x1] : [@link]
|--WS[1x6] : [ ]
|--REFERENCE[1x7] : [org.apache.utils.Lists.Comparator#compare(Object)]
|--PACKAGE_CLASS[1x7] : [org.apache.utils]
|--DOT[1x23] : [.]
|--CLASS[1x24] : [Lists]
|--DOT[1x29] : [.]
|--CLASS[1x30] : [Comparator]
|--HASH[1x40] : [#]
|--MEMBER[1x41] : [compare]
|--PARAMETERS[1x48] : [(Object)]
|--LEFT_BRACE[1x48] : [(]
|--ARGUMENT[1x49] : [Object]
|--RIGHT_BRACE[1x55] : [)]
|--JAVADOC_INLINE_TAG_END[1x56] : [}]
JAVADOC_INLINE_TAG
,
Constant Field Valuespublic static final int INHERIT_DOC_LITERAL
Such Javadoc inline tag does not have any arguments and can have such child nodes:
Example:
{@inheritDoc}
Tree:
|--JAVADOC_INLINE_TAG[1x0] : [{@inheritDoc}]
|--JAVADOC_INLINE_TAG_START[1x0] : [{]
|--INHERIT_DOC_LITERAL[1x1] : [@inheritDoc]
|--JAVADOC_INLINE_TAG_END[1x12] : [}]
JAVADOC_INLINE_TAG
,
Constant Field Valuespublic static final int LINKPLAIN_LITERAL
Such Javadoc inline tag can have one argument - REFERENCE
Example:
{@linkplain org.apache.utils.Lists.Comparator#compare(Object) compare}
Tree:
|--JAVADOC_INLINE_TAG[1x0] :
[{@linkplain org.apache.utils.Lists.Comparator#compare(Object) compare}]
|--JAVADOC_INLINE_TAG_START[1x0] : [{]
|--LINKPLAIN_LITERAL[1x1] : [@linkplain]
|--WS[1x11] : [ ]
|--REFERENCE[1x12] : [org.apache.utils.Lists.Comparator#compare(Object)]
|--PACKAGE_CLASS[1x12] : [org.apache.utils]
|--DOT[1x28] : [.]
|--CLASS[1x29] : [Lists]
|--DOT[1x34] : [.]
|--CLASS[1x35] : [Comparator]
|--HASH[1x45] : [#]
|--MEMBER[1x46] : [compare]
|--PARAMETERS[1x53] : [(Object)]
|--LEFT_BRACE[1x53] : [(]
|--ARGUMENT[1x54] : [Object]
|--RIGHT_BRACE[1x60] : [)]
|--DESCRIPTION[1x61] : [ compare]
|--TEXT[1x61] : [ compare]
|--JAVADOC_INLINE_TAG_END[1x69] : [}]
JAVADOC_INLINE_TAG
,
Constant Field Valuespublic static final int LITERAL_LITERAL
Such Javadoc inline tag can have such child nodes:
Example:
{@literal #compare(Object)}
Tree:
|--JAVADOC_INLINE_TAG[1x0] : [{@literal #compare(Object)}]
|--JAVADOC_INLINE_TAG_START[1x0] : [{]
|--LITERAL_LITERAL[1x1] : [@literal]
|--WS[1x9] : [ ]
|--TEXT[1x10] : [#compare(Object)]
|--JAVADOC_INLINE_TAG_END[1x27] : [}]
JAVADOC_INLINE_TAG
,
Constant Field Valuespublic static final int VALUE_LITERAL
Such Javadoc inline tag has one argument REFERENCE
and can have such child nodes:
Example:
{@value Integer#MAX_VALUE}
Tree:
|--JAVADOC_INLINE_TAG[1x0] : [@value Integer#MAX_VALUE}]
|--JAVADOC_INLINE_TAG_START[1x0] : [{]
|--VALUE_LITERAL[1x1] : [@value]
|--WS[1x7] : [ ]
|--REFERENCE[1x8] : [Integer#MAX_VALUE]
|--CLASS[1x8] : [Integer]
|--HASH[1x15] : [#]
|--MEMBER[1x16] : [MAX_VALUE]
|--JAVADOC_INLINE_TAG_END[1x25] : [}]
JAVADOC_INLINE_TAG
,
Constant Field Valuespublic static final int PACKAGE_CLASS
REFERENCE
.
package.Class.NestedClassAtDepth1.NestedClassAtDepth2#member
are recognized by
the javadoc tool from oracle, and no assumptions like, package names wouldn't consist of
uppercase characters or class names begin with an uppercase character, are made.
Also, the reference in a javadoc tag can consist just a package name or a
simple class name or even a full class name. Thus, PACKAGE_CLASS can represent a
package name or a simple class name or a full class name i.e checkstyle doesn't
resolve references at present.
Example:
@see org.apache.utils.Lists.Comparator#compare(Object)
Tree:
|--JAVADOC_TAG[3x0] : [@see org.apache.utils.Lists.Comparator#compare(Object)]
|--SEE_LITERAL[3x0] : [@see]
|--WS[3x4] : [ ]
|--REFERENCE[3x5] : [org.apache.utils.Lists.Comparator#compare(Object)]
|--PACKAGE_CLASS[3x5] : [org.apache.utils]
|--DOT[3x21] : [.]
|--CLASS[3x22] : [Lists]
|--DOT[3x27] : [.]
|--CLASS[3x28] : [Comparator]
|--HASH[3x38] : [#]
|--MEMBER[3x39] : [compare]
|--PARAMETERS[3x46] : [(Object)]
|--LEFT_BRACE[3x46] : [(]
|--ARGUMENT[3x47] : [Object]
|--RIGHT_BRACE[3x53] : [)]
public static final int HASH
REFERENCE
.
Hash character is used before specifying a class member.
Example:
@see org.apache.utils.Lists.Comparator#compare(Object)
Tree:
|--JAVADOC_TAG[3x0] : [@see org.apache.utils.Lists.Comparator#compare(Object)]
|--SEE_LITERAL[3x0] : [@see]
|--WS[3x4] : [ ]
|--REFERENCE[3x5] : [org.apache.utils.Lists.Comparator#compare(Object)]
|--PACKAGE_CLASS[3x5] : [org.apache.utils]
|--DOT[3x21] : [.]
|--CLASS[3x22] : [Lists]
|--DOT[3x27] : [.]
|--CLASS[3x28] : [Comparator]
|--HASH[3x38] : [#]
|--MEMBER[3x39] : [compare]
|--PARAMETERS[3x46] : [(Object)]
|--LEFT_BRACE[3x46] : [(]
|--ARGUMENT[3x47] : [Object]
|--RIGHT_BRACE[3x53] : [)]
public static final int MEMBER
REFERENCE
.
Class member is specified after HASH
symbol.
Example:
@see org.apache.utils.Lists.Comparator#compare(Object)
Tree:
|--JAVADOC_TAG[3x0] : [@see org.apache.utils.Lists.Comparator#compare(Object)]
|--SEE_LITERAL[3x0] : [@see]
|--WS[3x4] : [ ]
|--REFERENCE[3x5] : [org.apache.utils.Lists.Comparator#compare(Object)]
|--PACKAGE_CLASS[3x5] : [org.apache.utils]
|--DOT[3x21] : [.]
|--CLASS[3x22] : [Lists]
|--DOT[3x27] : [.]
|--CLASS[3x28] : [Comparator]
|--HASH[3x38] : [#]
|--MEMBER[3x39] : [compare]
|--PARAMETERS[3x46] : [(Object)]
|--LEFT_BRACE[3x46] : [(]
|--ARGUMENT[3x47] : [Object]
|--RIGHT_BRACE[3x53] : [)]
public static final int LEFT_BRACE
PARAMETERS
part of REFERENCE
.
Example:
@see #method(Processor, String)
Tree:
|--JAVADOC_TAG[1x0] : [@see #method(Processor, String)]
|--SEE_LITERAL[1x0] : [@see]
|--WS[1x4] : [ ]
|--REFERENCE[1x5] : [#method(Processor, String)]
|--HASH[1x5] : [#]
|--MEMBER[1x6] : [method]
|--PARAMETERS[1x12] : [(Processor, String)]
|--LEFT_BRACE[1x12] : [(]
|--ARGUMENT[1x13] : [Processor]
|--COMMA[1x22] : [,]
|--WS[1x23] : [ ]
|--ARGUMENT[1x24] : [String]
|--RIGHT_BRACE[1x30] : [)]
public static final int RIGHT_BRACE
PARAMETERS
part of REFERENCE
.
Example:
@see #method(Processor, String)
Tree:
|--JAVADOC_TAG[1x0] : [@see #method(Processor, String)]
|--SEE_LITERAL[1x0] : [@see]
|--WS[1x4] : [ ]
|--REFERENCE[1x5] : [#method(Processor, String)]
|--HASH[1x5] : [#]
|--MEMBER[1x6] : [method]
|--PARAMETERS[1x12] : [(Processor, String)]
|--LEFT_BRACE[1x12] : [(]
|--ARGUMENT[1x13] : [Processor]
|--COMMA[1x22] : [,]
|--WS[1x23] : [ ]
|--ARGUMENT[1x24] : [String]
|--RIGHT_BRACE[1x30] : [)]
public static final int ARGUMENT
PARAMETERS
part of REFERENCE
.
Example:
@see #method(Processor, String)
Tree:
|--JAVADOC_TAG[1x0] : [@see #method(Processor, String)]
|--SEE_LITERAL[1x0] : [@see]
|--WS[1x4] : [ ]
|--REFERENCE[1x5] : [#method(Processor, String)]
|--HASH[1x5] : [#]
|--MEMBER[1x6] : [method]
|--PARAMETERS[1x12] : [(Processor, String)]
|--LEFT_BRACE[1x12] : [(]
|--ARGUMENT[1x13] : [Processor]
|--COMMA[1x22] : [,]
|--WS[1x23] : [ ]
|--ARGUMENT[1x24] : [String]
|--RIGHT_BRACE[1x30] : [)]
public static final int COMMA
PARAMETERS
part of REFERENCE
.
Example:
@see #method(Processor, String)
Tree:
|--JAVADOC_TAG[1x0] : [@see #method(Processor, String)]
|--SEE_LITERAL[1x0] : [@see]
|--WS[1x4] : [ ]
|--REFERENCE[1x5] : [#method(Processor, String)]
|--HASH[1x5] : [#]
|--MEMBER[1x6] : [method]
|--PARAMETERS[1x12] : [(Processor, String)]
|--LEFT_BRACE[1x12] : [(]
|--ARGUMENT[1x13] : [Processor]
|--COMMA[1x22] : [,]
|--WS[1x23] : [ ]
|--ARGUMENT[1x24] : [String]
|--RIGHT_BRACE[1x30] : [)]
PARAMETERS
,
REFERENCE
,
ARGUMENT
,
Constant Field Valuespublic static final int STRING
Example:
@see "Spring Framework"
Tree:
|--JAVADOC_TAG[1x0] : [@see "Spring Framework"]
|--SEE_LITERAL[1x0] : [@see]
|--WS[1x4] : [ ]
|--STRING[1x5] : ["Spring Framework"]
SEE_LITERAL
,
Constant Field Valuespublic static final int CLASS_NAME
@throws
and
@exception
Javadoc tags.
Example:
@throws IOException connection problems
Tree:
|--JAVADOC_TAG[1x0] : [@throws IOException connection problems]
|--THROWS_LITERAL[1x0] : [@throws]
|--WS[1x7] : [ ]
|--CLASS_NAME[1x8] : [IOException]
|--WS[1x19] : [ ]
|--DESCRIPTION[1x20] : [connection problems]
|--TEXT[1x20] : [connection problems]
EXCEPTION_LITERAL
,
THROWS_LITERAL
,
Constant Field Valuespublic static final int PARAMETER_NAME
@param
Javadoc tag.
Example:
@param T The bar.
Tree:
|--JAVADOC_TAG[4x3] : [@param T The bar.]
|--PARAM_LITERAL[4x3] : [@param]
|--WS[4x9] : [ ]
|--PARAMETER_NAME[4x10] : [T]
|--WS[4x11] : [ ]
|--DESCRIPTION[4x12] : [The bar.]
|--TEXT[4x12] : [The bar.]
PARAM_LITERAL
,
Constant Field Valuespublic static final int LITERAL_EXCLUDE
@serial
tag arguments.
Example:
@serial exclude
Tree:
|--JAVADOC_TAG[1x0] : [@serial exclude]
|--SERIAL_LITERAL[1x0] : [@serial]
|--WS[1x7] : [ ]
|--LITERAL_EXCLUDE[1x8] : [exclude]
SERIAL_LITERAL
,
Constant Field Valuespublic static final int LITERAL_INCLUDE
@serial
tag arguments.
Example:
@serial include
Tree:
|--JAVADOC_TAG[1x0] : [@serial include]
|--SERIAL_LITERAL[1x0] : [@serial]
|--WS[1x7] : [ ]
|--LITERAL_INCLUDE[1x8] : [include]
SERIAL_LITERAL
,
Constant Field Valuespublic static final int FIELD_NAME
@serialField
Javadoc tag.
Example:
@serialField counter Integer objects counter
Tree:
|--JAVADOC_TAG[3x0] : [@serialField counter Integer objects counter]
|--SERIAL_FIELD_LITERAL[3x0] : [@serialField]
|--WS[3x12] : [ ]
|--FIELD_NAME[3x13] : [counter]
|--WS[3x20] : [ ]
|--FIELD_TYPE[3x21] : [Integer]
|--WS[3x28] : [ ]
|--DESCRIPTION[3x29] : [objects counter]
|--TEXT[3x29] : [objects counter]
SERIAL_FIELD_LITERAL
,
Constant Field Valuespublic static final int FIELD_TYPE
@serialField
Javadoc tag.
Example:
@serialField counter Integer objects counter
Tree:
|--JAVADOC_TAG[3x0] : [@serialField counter Integer objects counter]
|--SERIAL_FIELD_LITERAL[3x0] : [@serialField]
|--WS[3x12] : [ ]
|--FIELD_NAME[3x13] : [counter]
|--WS[3x20] : [ ]
|--FIELD_TYPE[3x21] : [Integer]
|--WS[3x28] : [ ]
|--DESCRIPTION[3x29] : [objects counter]
|--TEXT[3x29] : [objects counter]
SERIAL_FIELD_LITERAL
,
Constant Field Valuespublic static final int HTML_TAG_NAME
public static final int START
'<'
.public static final int SLASH
'/'
.public static final int END
'>'
.public static final int SLASH_END
'/>'
.public static final int EQUALS
'='
.public static final int ATTR_VALUE
public static final int P_HTML_TAG_NAME
public static final int LI_HTML_TAG_NAME
public static final int TR_HTML_TAG_NAME
public static final int TD_HTML_TAG_NAME
public static final int TH_HTML_TAG_NAME
public static final int BODY_HTML_TAG_NAME
public static final int COLGROUP_HTML_TAG_NAME
public static final int DD_HTML_TAG_NAME
public static final int DT_HTML_TAG_NAME
public static final int HEAD_HTML_TAG_NAME
public static final int HTML_HTML_TAG_NAME
public static final int OPTION_HTML_TAG_NAME
public static final int TBODY_HTML_TAG_NAME
public static final int TFOOT_HTML_TAG_NAME
public static final int THEAD_HTML_TAG_NAME
public static final int AREA_HTML_TAG_NAME
public static final int BASE_HTML_TAG_NAME
public static final int BASEFONT_HTML_TAG_NAME
public static final int BR_HTML_TAG_NAME
public static final int COL_HTML_TAG_NAME
public static final int FRAME_HTML_TAG_NAME
public static final int HR_HTML_TAG_NAME
public static final int IMG_HTML_TAG_NAME
public static final int INPUT_HTML_TAG_NAME
public static final int ISINDEX_HTML_TAG_NAME
public static final int LINK_HTML_TAG_NAME
public static final int META_HTML_TAG_NAME
public static final int PARAM_HTML_TAG_NAME
public static final int EMBED_HTML_TAG_NAME
public static final int KEYGEN_HTML_TAG_NAME
public static final int SOURCE_HTML_TAG_NAME
public static final int TRACK_HTML_TAG_NAME
public static final int WBR_HTML_TAG_NAME
public static final int HTML_COMMENT_START
public static final int HTML_COMMENT_END
public static final int CDATA
public static final int LEADING_ASTERISK
public static final int NEWLINE
public static final int CHAR
public static final int WS
public static final int EOF
public static final int JAVADOC
EOF
.
Tree for example:
JAVADOC[3x0]
|--NEWLINE[3x0] : [\n]
|--LEADING_ASTERISK[4x0] : [ *]
|--WS[4x2] : [ ]
|--JAVADOC_TAG[4x3] : [@param T The bar.\n ]
|--PARAM_LITERAL[4x3] : [@param]
|--WS[4x9] : [ ]
|--PARAMETER_NAME[4x10] : [T]
|--WS[4x11] : [ ]
|--DESCRIPTION[4x12] : [The bar.\n ]
|--TEXT[4x12] : [The bar.]
|--NEWLINE[4x20] : [\n]
|--TEXT[5x0] : [ ]
|--EOF[5x1] : [<EOF>]
public static final int JAVADOC_TAG
Type of Javadoc tag is resolved by literal node that is first child of this node.
As literal could be:
RETURN_LITERAL
DEPRECATED_LITERAL
SINCE_LITERAL
SERIAL_DATA_LITERAL
SERIAL_FIELD_LITERAL
PARAM_LITERAL
SEE_LITERAL
SERIAL_LITERAL
VERSION_LITERAL
EXCEPTION_LITERAL
THROWS_LITERAL
AUTHOR_LITERAL
CUSTOM_NAME
if it is custom Javadoc tag.Example
@param T The bar.
Tree
|--JAVADOC_TAG[4x3] : [@param T The bar.]
|--PARAM_LITERAL[4x3] : [@param]
|--WS[4x9] : [ ]
|--PARAMETER_NAME[4x10] : [T]
|--WS[4x11] : [ ]
|--DESCRIPTION[4x12] : [The bar.]
|--TEXT[4x12] : [The bar.]
public static final int JAVADOC_INLINE_TAG
Type of Javadoc inline tag is resolved by literal node that is second child of this node.
First child is always JAVADOC_INLINE_TAG_START
and last node is always
JAVADOC_INLINE_TAG_END
.
As literal could be:
CODE_LITERAL
DOC_ROOT_LITERAL
LINK_LITERAL
INHERIT_DOC_LITERAL
LINKPLAIN_LITERAL
LITERAL_LITERAL
VALUE_LITERAL
CUSTOM_NAME
if it is custom Javadoc inline tag.Example:
{@link String}
Tree:
|--JAVADOC_INLINE_TAG[4x3] : [@link String}]
|--JAVADOC_INLINE_TAG_START[4x3] : [{]
|--LINK_LITERAL[4x4] : [@link]
|--WS[4x9] : [ ]
|--REFERENCE[4x10] : [String]
|--CLASS[4x10] : [String]
|--JAVADOC_INLINE_TAG_END[4x16] : [}]
public static final int REFERENCE
public static final int PARAMETERS
REFERENCE
.
It is used to specify parameters for method
.
Always contains LEFT_BRACE
as first child and RIGHT_BRACE
as last child.
Each parameter is represented by ARGUMENT
node.
Arguments in braces are separated by COMMA
(and optional WS
).
Example:
@see #method(Processor, String)
Tree:
|--JAVADOC_TAG[1x0] : [@see #method(Processor, String)]
|--SEE_LITERAL[1x0] : [@see]
|--WS[1x4] : [ ]
|--REFERENCE[1x5] : [#method(Processor, String)]
|--HASH[1x5] : [#]
|--MEMBER[1x6] : [method]
|--PARAMETERS[1x12] : [(Processor, String)]
|--LEFT_BRACE[1x12] : [(]
|--ARGUMENT[1x13] : [Processor]
|--COMMA[1x22] : [,]
|--WS[1x23] : [ ]
|--ARGUMENT[1x24] : [String]
|--RIGHT_BRACE[1x30] : [)]
public static final int DESCRIPTION
It is argument for many Javadoc tags and inline tags.
Example:
@throws IOException if <b>connection</b> problems occur
Tree:
|--JAVADOC_TAG[1x0] : [@throws IOException if <b>connection</b> problems occur]
|--THROWS_LITERAL[1x0] : [@throws]
|--WS[1x7] : [ ]
|--CLASS_NAME[1x8] : [IOException]
|--WS[1x19] : [ ]
|--DESCRIPTION[1x20] : [if <b>connection</b> problems occur]
|--TEXT[1x20] : [if ]
|--HTML_ELEMENT[1x23] : [<b>connection</b>]
|--HTML_TAG[1x23] : [<b>connection</b>]
|--HTML_ELEMENT_START[1x23] : [<b>]
|--START[1x23] : [<]
|--HTML_TAG_NAME[1x24] : [b]
|--END[1x25] : [>]
|--TEXT[1x26] : [connection]
|--HTML_ELEMENT_END[1x36] : [</b>]
|--START[1x36] : [<]
|--SLASH[1x37] : [/]
|--HTML_TAG_NAME[1x38] : [b]
|--END[1x39] : [>]
|--TEXT[1x40] : [ problems occur]
public static final int HTML_ELEMENT
public static final int HTML_ELEMENT_START
public static final int HTML_ELEMENT_END
public static final int HTML_TAG
public static final int ATTRIBUTE
HTML_TAG_IDENT, EQUALS, ATTR_VALUE
.public static final int PARAGRAPH
<p></p>
.public static final int P_TAG_START
public static final int P_TAG_END
public static final int LI
<li></li>
.public static final int LI_TAG_START
public static final int LI_TAG_END
public static final int TR
<tr></tr>
.public static final int TR_TAG_START
public static final int TR_TAG_END
public static final int TD
<td></td>
.public static final int TD_TAG_START
public static final int TD_TAG_END
public static final int TH
<th></th>
.public static final int TH_TAG_START
public static final int TH_TAG_END
public static final int BODY
public static final int BODY_TAG_START
public static final int BODY_TAG_END
public static final int COLGROUP
public static final int COLGROUP_TAG_START
public static final int COLGROUP_TAG_END
public static final int DD
<dd></dd>
.public static final int DD_TAG_START
public static final int DD_TAG_END
public static final int DT
<dt></dt>
.public static final int DT_TAG_START
public static final int DT_TAG_END
public static final int HEAD
public static final int HEAD_TAG_START
public static final int HEAD_TAG_END
public static final int HTML
public static final int HTML_TAG_START
public static final int HTML_TAG_END
public static final int OPTION
public static final int OPTION_TAG_START
public static final int OPTION_TAG_END
public static final int TBODY
public static final int TBODY_TAG_START
public static final int TBODY_TAG_END
public static final int TFOOT
public static final int TFOOT_TAG_START
public static final int TFOOT_TAG_END
public static final int THEAD
public static final int THEAD_TAG_START
public static final int THEAD_TAG_END
public static final int SINGLETON_ELEMENT
public static final int EMPTY_TAG
public static final int AREA_TAG
public static final int BASE_TAG
public static final int BASEFONT_TAG
public static final int BR_TAG
public static final int COL_TAG
public static final int FRAME_TAG
public static final int HR_TAG
public static final int IMG_TAG
public static final int INPUT_TAG
public static final int ISINDEX_TAG
public static final int LINK_TAG
public static final int META_TAG
public static final int PARAM_TAG
public static final int EMBED_TAG
<embed>
.SINGLETON_ELEMENT
,
W3 docs,
Constant Field Valuespublic static final int KEYGEN_TAG
<keygen>
.SINGLETON_ELEMENT
,
W3 docs,
Constant Field Valuespublic static final int SOURCE_TAG
<source>
.SINGLETON_ELEMENT
,
W3 docs,
Constant Field Valuespublic static final int TRACK_TAG
<track>
.SINGLETON_ELEMENT
,
W3 docs,
Constant Field Valuespublic static final int WBR_TAG
<wbr>
.SINGLETON_ELEMENT
,
W3 docs,
Constant Field Valuespublic static final int HTML_COMMENT
<!-- -->
.public static final int TEXT
Copyright © 2001–2018. All rights reserved.