@Exported

# Package com.sun.source.doctree

Provides interfaces to represent documentation comments as abstract syntax trees (AST).

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  AttributeTree | A tree node for an attribute in an HTML element.
  AuthorTree | A tree node for an @author block tag.
  BlockTagTree | A tree node used as the base class for the different types of block tags.
  CommentTree | An embedded HTML comment.
  DeprecatedTree | A tree node for an @deprecated block tag.
  DocCommentTree | The top level representation of a documentation comment.
  DocRootTree | A tree node for an @docroot inline tag.
  DocTree | Common interface for all nodes in a documentation syntax tree.
  DocTreeVisitor<R,P> | A visitor of trees, in the style of the visitor design pattern.
  EndElementTree | A tree node for the end of an HTML element.
  EntityTree | A tree node for an HTML entity.
  ErroneousTree | A tree node to stand in for a malformed text
  IdentifierTree | An identifier in a documentation comment.
  InheritDocTree | A tree node for an @inheritDoc inline tag.
  InlineTagTree | A tree node used as the base class for the different types of inline tags.
  LinkTree | A tree node for an @link or @linkplain inline tag.
  LiteralTree | A tree node for an @literal or @code inline tag.
  ParamTree | A tree node for an @param block tag.
  ReferenceTree | A tree node to a reference to a Java language element.
  ReturnTree | A tree node for an @return block tag.
  SeeTree | A tree node for an @see block tag.
  SerialDataTree | A tree node for an @serialData block tag.
  SerialFieldTree | A tree node for an @serialData block tag.
  SerialTree | A tree node for an @serial block tag.
  SinceTree | A tree node for an @since block tag.
  StartElementTree | A tree node for the start of an HTML element.
  TextTree | A tree node for plain text.
  ThrowsTree | A tree node for an @exception or @throws block tag.
  UnknownBlockTagTree | A tree node for an unrecognized inline tag.
  UnknownInlineTagTree | A tree node for an unrecognized inline tag.
  ValueTree | A tree node for an @value inline tag.
  VersionTree | A tree node for an @version block tag.

- Enum Summary
  Enum | Description
  --- | ---
  AttributeTree.ValueKind |
  DocTree.Kind |

## Package com.sun.source.doctree Description

Provides interfaces to represent documentation comments as abstract syntax trees (AST).

Since:
  1.8
See Also:
  https://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#javadoctags

Copyright © 2005, 2026, Oracle and/or its affiliates. All rights reserved.