< prev index next >

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

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

@@ -144,9 +145,10 @@
       * </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 >