< prev index next > src/jdk.compiler/share/classes/com/sun/source/util/DocSourcePositions.java
Print this page
* </p>
*
* @param comment the comment tree that encloses the tree for which the
* position is being sought
* @param tree tree for which a position is sought
+ * @since 27
*/
long getStartPosition(DocCommentTree comment, DocTree tree);
/**
* Returns the ending position of the tree within the comment within the file. If tree is not found within
* </p>
*
* @param comment the comment tree that encloses the tree for which the
* position is being sought
* @param tree tree for which a position is sought
+ * @since 27
*/
long getEndPosition(DocCommentTree comment, DocTree tree);
}
< prev index next >