| Package | Description | 
|---|---|
| com.sun.source.doctree | Provides interfaces to represent documentation comments as abstract syntax
 trees (AST). | 
| com.sun.source.tree | Provides interfaces to represent source code as abstract syntax
 trees (AST). | 
| com.sun.source.util | Provides utilities for operations on abstract syntax trees (AST). | 
| jdk | 
| Package | Description | 
|---|---|
| com.sun.source.doctree | Provides interfaces to represent documentation comments as abstract syntax
 trees (AST). | 
| com.sun.source.tree | Provides interfaces to represent source code as abstract syntax
 trees (AST). | 
| com.sun.source.util | Provides utilities for operations on abstract syntax trees (AST). | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AttributeTreeA tree node for an attribute in an HTML element. | 
| static class  | AttributeTree.ValueKind | 
| interface  | AuthorTreeA tree node for an @author block tag. | 
| interface  | BlockTagTreeA tree node used as the base class for the different types of
 block tags. | 
| interface  | CommentTreeAn embedded HTML comment. | 
| interface  | DeprecatedTreeA tree node for an @deprecated block tag. | 
| interface  | DocCommentTreeThe top level representation of a documentation comment. | 
| interface  | DocRootTreeA tree node for an @docroot inline tag. | 
| interface  | DocTreeCommon interface for all nodes in a documentation syntax tree. | 
| static class  | DocTree.Kind | 
| interface  | DocTreeVisitor<R,P>A visitor of trees, in the style of the visitor design pattern. | 
| interface  | EndElementTreeA tree node for the end of an HTML element. | 
| interface  | EntityTreeA tree node for an HTML entity. | 
| interface  | ErroneousTreeA tree node to stand in for a malformed text | 
| interface  | IdentifierTreeAn identifier in a documentation comment. | 
| interface  | InheritDocTreeA tree node for an @inheritDoc inline tag. | 
| interface  | InlineTagTreeA tree node used as the base class for the different types of
 inline tags. | 
| interface  | LinkTreeA tree node for an @link or @linkplain inline tag. | 
| interface  | LiteralTreeA tree node for an @literal or @code inline tag. | 
| interface  | ParamTreeA tree node for an @param block tag. | 
| interface  | ReferenceTreeA tree node to a reference to a Java language element. | 
| interface  | ReturnTreeA tree node for an @return block tag. | 
| interface  | SeeTreeA tree node for an @see block tag. | 
| interface  | SerialDataTreeA tree node for an @serialData block tag. | 
| interface  | SerialFieldTreeA tree node for an @serialData block tag. | 
| interface  | SerialTreeA tree node for an @serial block tag. | 
| interface  | SinceTreeA tree node for an @since block tag. | 
| interface  | StartElementTreeA tree node for the start of an HTML element. | 
| interface  | TextTreeA tree node for plain text. | 
| interface  | ThrowsTreeA tree node for an @exception or @throws block tag. | 
| interface  | UnknownBlockTagTreeA tree node for an unrecognized inline tag. | 
| interface  | UnknownInlineTagTreeA tree node for an unrecognized inline tag. | 
| interface  | ValueTreeA tree node for an @value inline tag. | 
| interface  | VersionTreeA tree node for an @version block tag. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AnnotatedTypeTreeA tree node for an annotated type
 For example: | 
| interface  | AnnotationTreeA tree node for an annotation. | 
| interface  | ArrayAccessTreeA tree node for an array access expression. | 
| interface  | ArrayTypeTreeA tree node for an array type. | 
| interface  | AssertTreeA tree node for an 'assert' statement. | 
| interface  | AssignmentTreeA tree node for an assignment expression. | 
| interface  | BinaryTreeA tree node for a binary expression. | 
| interface  | BlockTreeA tree node for a statement block. | 
| interface  | BreakTreeA tree node for a 'break' statement. | 
| interface  | CaseTreeA tree node for a 'case' in a 'switch' statement. | 
| interface  | CatchTreeA tree node for a 'catch' block in a 'try' statement. | 
| interface  | ClassTreeA tree node for a class, interface, enum, or annotation
 type declaration. | 
| interface  | CompilationUnitTreeRepresents the abstract syntax tree for compilation units (source
 files) and package declarations (package-info.java). | 
| interface  | CompoundAssignmentTreeA tree node for compound assignment operator. | 
| interface  | ConditionalExpressionTreeA tree node for the conditional operator ? :. | 
| interface  | ContinueTreeA tree node for a 'continue' statement. | 
| interface  | DoWhileLoopTreeA tree node for a 'do' statement. | 
| interface  | EmptyStatementTreeA tree node for an empty (skip) statement. | 
| interface  | EnhancedForLoopTreeA tree node for an "enhanced" 'for' loop statement. | 
| interface  | ErroneousTreeA tree node to stand in for a malformed expression. | 
| interface  | ExpressionStatementTreeA tree node for an expression statement. | 
| interface  | ExpressionTreeA tree node used as the base class for the different types of
 expressions. | 
| interface  | ForLoopTreeA tree node for a basic 'for' loop statement. | 
| interface  | IdentifierTreeA tree node for an identifier expression. | 
| interface  | IfTreeA tree node for an 'if' statement. | 
| interface  | ImportTreeA tree node for an import statement. | 
| interface  | InstanceOfTreeA tree node for an 'instanceof' expression. | 
| interface  | IntersectionTypeTreeA tree node for an intersection type in a cast expression. | 
| interface  | LabeledStatementTreeA tree node for a labeled statement. | 
| interface  | LambdaExpressionTreeA tree node for a lambda expression. | 
| static class  | LambdaExpressionTree.BodyKindLambda expressions come in two forms: (i) expression lambdas, whose body
 is an expression, and (ii) statement lambdas, whose body is a block | 
| interface  | LineMapProvides methods to convert between character positions and line numbers
 for a compilation unit. | 
| interface  | LiteralTreeA tree node for a literal expression. | 
| interface  | MemberReferenceTreeA tree node for a member reference expression. | 
| static class  | MemberReferenceTree.ReferenceModeThere are two kinds of member references: (i) method references and
 (ii) constructor references | 
| interface  | MemberSelectTreeA tree node for a member access expression. | 
| interface  | MethodInvocationTreeA tree node for a method invocation expression. | 
| interface  | MethodTreeA tree node for a method or annotation type element declaration. | 
| interface  | ModifiersTreeA tree node for the modifiers, including annotations, for a declaration. | 
| interface  | NewArrayTreeA tree node for an expression to create a new instance of an array. | 
| interface  | NewClassTreeA tree node to declare a new instance of a class. | 
| interface  | ParameterizedTypeTreeA tree node for a type expression involving type parameters. | 
| interface  | ParenthesizedTreeA tree node for a parenthesized expression. | 
| interface  | PrimitiveTypeTreeA tree node for a primitive type. | 
| interface  | ReturnTreeA tree node for a 'return' statement. | 
| interface  | ScopeInterface for determining locally available program elements, such as
 local variables and imports. | 
| interface  | StatementTreeA tree node used as the base class for the different kinds of
 statements. | 
| interface  | SwitchTreeA tree node for a 'switch' statement. | 
| interface  | SynchronizedTreeA tree node for a 'synchronized' statement. | 
| interface  | ThrowTreeA tree node for a 'throw' statement. | 
| interface  | TreeCommon interface for all nodes in an abstract syntax tree. | 
| static class  | Tree.KindEnumerates all kinds of trees. | 
| interface  | TreeVisitor<R,P>A visitor of trees, in the style of the visitor design pattern. | 
| interface  | TryTreeA tree node for a 'try' statement. | 
| interface  | TypeCastTreeA tree node for a type cast expression. | 
| interface  | TypeParameterTreeA tree node for a type parameter. | 
| interface  | UnaryTreeA tree node for postfix and unary expressions. | 
| interface  | UnionTypeTreeA tree node for a union type expression in a multicatch var declaration. | 
| interface  | VariableTreeA tree node for a variable declaration. | 
| interface  | WhileLoopTreeA tree node for a 'while' loop statement. | 
| interface  | WildcardTreeA tree node for a wildcard type argument. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DocSourcePositionsProvides methods to obtain the position of a DocTree within a javadoc comment. | 
| class  | DocTreePathA path of tree nodes, typically used to represent the sequence of ancestor
 nodes of a tree node up to the top level DocCommentTree node. | 
| class  | DocTreePathScanner<R,P>A DocTreeVisitor that visits all the child tree nodes, and provides
 support for maintaining a path for the parent nodes. | 
| class  | DocTreesProvides access to syntax trees for doc comments. | 
| class  | DocTreeScanner<R,P>A TreeVisitor that visits all the child tree nodes. | 
| class  | JavacTaskProvides access to functionality specific to the JDK Java Compiler, javac. | 
| interface  | PluginThe interface for a javac plug-in. | 
| class  | SimpleDocTreeVisitor<R,P>A simple visitor for tree nodes. | 
| class  | SimpleTreeVisitor<R,P>A simple visitor for tree nodes. | 
| interface  | SourcePositionsProvides methods to obtain the position of a Tree within a CompilationUnit. | 
| class  | TaskEventProvides details about work that has been done by the JDK Java Compiler, javac. | 
| static class  | TaskEvent.KindKind of task event. | 
| interface  | TaskListenerProvides a listener to monitor the activity of the JDK Java Compiler, javac. | 
| class  | TreePathA path of tree nodes, typically used to represent the sequence of ancestor
 nodes of a tree node up to the top level CompilationUnitTree node. | 
| class  | TreePathScanner<R,P>A TreeVisitor that visits all the child tree nodes, and provides
 support for maintaining a path for the parent nodes. | 
| class  | TreesBridges JSR 199, JSR 269, and the Tree API. | 
| class  | TreeScanner<R,P>A TreeVisitor that visits all the child tree nodes. | 
| Modifier and Type | Class and Description | 
|---|---|
| interface  | ExportedIndicates whether or not a JDK specific type or package is an
 exported part of the JDK suitable for use outside of the JDK
 implementation itself. | 
 Copyright © 2005, 2017, Oracle and/or its affiliates.  All rights reserved.