Module jdk.compiler

Interface DeprecatedTree

  • All Superinterfaces:
    BlockTagTree, DocTree

    public interface DeprecatedTree
    extends BlockTagTree
    A tree node for an @deprecated block tag.

    @deprecated deprecated text.

    Since:
    1.8
    • Method Detail

      • getBody

        List<? extends DocTree> getBody()
        Returns the description explaining why an item is deprecated.
        Returns:
        the description