Modifier and Type | Method and Description |
---|---|
public 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)Returns the ending position of the tree within the comment within the file. |
public 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)Returns the starting position of the tree within the comment within the file. |
getEndPosition | back to summary |
---|---|
public 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
|
getStartPosition | back to summary |
---|---|
public 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
|