SinceTree (Java SE 25 & JDK 25)
Description: declaration: module: jdk.compiler, package: com.sun.source.doctree, interface: SinceTree
Keywords: com.sun.source.doctree.SinceTree interface

# Interface SinceTree

All Superinterfaces:
  `BlockTagTree, DocTree`

public interface SinceTree extends BlockTagTree
A tree node for an `@since` block tag.

       @since since-text

Since:
  1.8

- ## Nested Class Summary

  ### Nested classes/interfaces declared in interface DocTree

  `DocTree.Kind`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<? extends DocTree>`
  `getBody()`
  Returns the text explaining the availability of the item being documented.

  ### Methods declared in interface BlockTagTree

  `getTagName`

  ### Methods declared in interface DocTree

  `accept, getKind`

- ## Method Details

  - ### getBody

    List<? extends DocTree> getBody()
    Returns the text explaining the availability of the item being documented.
    Returns:
      the text