| Modifier and Type | Method and Description |
|---|---|
| public default long | Returns: the end position of treecompilation unit in which to find tree file, DocCommentTree the comment tree that encloses the tree for which the
position is being sought comment, DocTree tree for which a position is sought tree)
Deprecated
for removal since 27. use
getEndPosition(DocCommentTree, DocTree) instead
Returns the ending position of the tree within the comment within the file. |
| public long | Returns: the ending position of the givenTree. If the ending position is not available, returns
javax.the comment tree that encloses the tree for which the
position is being sought comment, DocTree tree for which a position is sought tree)Returns the ending position of the given |
| public default long | Returns: the start position of treecompilation unit in which to find tree file, DocCommentTree the comment tree that encloses the tree for which the
position is being sought comment, DocTree tree for which a position is sought tree)
Deprecated
for removal since 27. use
getStartPosition(DocCommentTree, DocTree) instead
Returns the starting position of the tree within the comment within the file. |
| public long | Returns: the starting position of the givenTree. If the starting position is not available, returns
javax.the comment tree that encloses the tree for which the
position is being sought comment, DocTree tree for which a position is sought tree)Returns the starting position of the given |
| getEndPosition | back to summary |
|---|---|
| public default long getEndPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)
Returns the ending position of the tree within the comment within the file. If tree is not found within
file, or if the ending position is not available,
returns
| |
| getEndPosition | back to summary |
|---|---|
| public long getEndPosition(DocCommentTree comment, DocTree tree) Returns the ending position of the given The given tree should be under the given comment tree. The returned position must be at the end of the yield of this tree, that is for any sub-tree of this tree, the following must hold:
| |
| getStartPosition | back to summary |
|---|---|
| public default long getStartPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)
Returns the starting position of the tree within the comment within the file. If tree is not found within
file, or if the starting position is not available,
returns
| |
| getStartPosition | back to summary |
|---|---|
| public long getStartPosition(DocCommentTree comment, DocTree tree) Returns the starting position of the given The given tree should be under the given comment tree. The returned position must be at the start of the yield of this tree, that is for any sub-tree of this tree, the following must hold:
| |