< prev index next >

src/jdk.compiler/share/classes/com/sun/source/util/SourcePositions.java

Print this page
@@ -72,10 +72,11 @@
       * {@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

@@ -128,8 +129,9 @@
       * {@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 >