DCDocComment node, generally nodes fall into
three groups:
DCIdentifier, DCText
DCLink, DCLiteral
DCParam, DCThrows
position of the first character that is unique to this node,
and not part of any child node
start of the range of characters for this node
preferred" position in the range of characters
for this node
end of the range of characters for this node
comment text in which they appear.
To convert a value to the position in the enclosing source text,
use DCDocComment#getSourcePosition(int).
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public abstract static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public abstract static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public abstract static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public int | pos
The position of the first character that is unique to this node. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static JCDiagnostic. | Returns: a diagnostic position based on the positions in a commentthe enclosing comment comment,the start position in the comment start, int the preferred position in the comment pref, int the end position in the comment end)Returns a diagnostic position based on the positions in a comment. |
| public int | Returns: the end position of the tree nodeReturns the end position of the tree node. |
| private DCTree | Returns: the last (right-most) child of this nodeReturns the last (right-most) child of this node. |
| public int | Returns: the "preferred" position of this tree nodeReturns the "preferred" position of this tree node. |
| public int | Returns: the start position of this tree nodeReturns the start position of this tree node. |
| public boolean | |
| public static boolean | |
| public JCDiagnostic. | Returns: aDiagnosticPosition for this nodethe enclosing comment, used to convert comment-based positions
to file-based positions dcReturns a |
| public String |