< prev index next > src/jdk.compiler/share/classes/com/sun/source/util/SourcePositions.java
Print this page
* {@code getStartPosition(tree) == NOPOS} or <br>
* {@code getStartPosition(subtree) == NOPOS}
* </p>
*
* @param tree tree for which a position is sought
+ * @since 27
*/
long getStartPosition(Tree tree);
/**
* Returns the ending position of tree within file. If tree is not found within
* {@code getStartPosition(tree) == NOPOS} or <br>
* {@code getEndPosition(tree) == NOPOS}
* </p>
*
* @param tree tree for which a position is sought
+ * @since 27
*/
long getEndPosition(Tree tree);
}
< prev index next >