Package com.sun.source.doctree

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

Since:
1.8
See Also:
Documentation Comment Specification for the Standard Doclet
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.

DocTypeTree

A tree node for a doctype declaration.

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

HiddenTree

A tree node for an @hidden block tag.

IdentifierTree

An identifier in a documentation comment.

IndexTree

A tree node for an @index or @index inline tag.

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.

ProvidesTree

A tree node for a @provides block tag.

ReferenceTree

A tree node for 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.

SummaryTree

A tree node for an @summary inline tag.

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.

UsesTree

A tree node for an @uses block tag.

ValueTree

A tree node for an @value inline tag.

VersionTree

A tree node for an @version block tag.

Enum Description
AttributeTree.ValueKind

The kind of an attribute value.

DocTree.Kind

Enumerates all kinds of trees.