Interface JavadocTree.Document

Enclosing interface:
JavadocTree

public static sealed interface JavadocTree.Document
Root node.
  • Method Details

    • firstSentence

      List<JavadocTree> firstSentence()
      Get the first sentence of a documentation comment.
      Returns:
      list of nodes
    • body

      List<JavadocTree> body()
      Get the body of a documentation comment, appearing after the first sentence, and before any block tags.
      Returns:
      list of nodes
    • fullBody

      default List<JavadocTree> fullBody()
      Get the full body.
      Returns:
      elements
    • blockTags

      Get the block tags of a documentation comment.
      Returns:
      list of block tag nodes