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 |
AttributeTree
A tree node for an attribute in an HTML element.
|
static class |
AttributeTree.ValueKind |
interface |
AuthorTree
A tree node for an @author block tag.
|
interface |
BlockTagTree
A tree node used as the base class for the different types of
block tags.
|
interface |
CommentTree
An embedded HTML comment.
|
interface |
DeprecatedTree
A tree node for an @deprecated block tag.
|
interface |
DocCommentTree
The top level representation of a documentation comment.
|
interface |
DocRootTree
A tree node for an @docroot inline tag.
|
interface |
DocTree
Common 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 |
EndElementTree
A tree node for the end of an HTML element.
|
interface |
EntityTree
A tree node for an HTML entity.
|
interface |
ErroneousTree
A tree node to stand in for a malformed text
|
interface |
IdentifierTree
An identifier in a documentation comment.
|
interface |
InheritDocTree
A tree node for an @inheritDoc inline tag.
|
interface |
InlineTagTree
A tree node used as the base class for the different types of
inline tags.
|
interface |
LinkTree
A tree node for an @link or @linkplain inline tag.
|
interface |
LiteralTree
A tree node for an @literal or @code inline tag.
|
interface |
ParamTree
A tree node for an @param block tag.
|
interface |
ReferenceTree
A tree node to a reference to a Java language element.
|
interface |
ReturnTree
A tree node for an @return block tag.
|
interface |
SeeTree
A tree node for an @see block tag.
|
interface |
SerialDataTree
A tree node for an @serialData block tag.
|
interface |
SerialFieldTree
A tree node for an @serialData block tag.
|
interface |
SerialTree
A tree node for an @serial block tag.
|
interface |
SinceTree
A tree node for an @since block tag.
|
interface |
StartElementTree
A tree node for the start of an HTML element.
|
interface |
TextTree
A tree node for plain text.
|
interface |
ThrowsTree
A tree node for an @exception or @throws block tag.
|
interface |
UnknownBlockTagTree
A tree node for an unrecognized inline tag.
|
interface |
UnknownInlineTagTree
A tree node for an unrecognized inline tag.
|
interface |
ValueTree
A tree node for an @value inline tag.
|
interface |
VersionTree
A tree node for an @version block tag.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotatedTypeTree
A tree node for an annotated type
For example:
|
interface |
AnnotationTree
A tree node for an annotation.
|
interface |
ArrayAccessTree
A tree node for an array access expression.
|
interface |
ArrayTypeTree
A tree node for an array type.
|
interface |
AssertTree
A tree node for an 'assert' statement.
|
interface |
AssignmentTree
A tree node for an assignment expression.
|
interface |
BinaryTree
A tree node for a binary expression.
|
interface |
BlockTree
A tree node for a statement block.
|
interface |
BreakTree
A tree node for a 'break' statement.
|
interface |
CaseTree
A tree node for a 'case' in a 'switch' statement.
|
interface |
CatchTree
A tree node for a 'catch' block in a 'try' statement.
|
interface |
ClassTree
A tree node for a class, interface, enum, or annotation
type declaration.
|
interface |
CompilationUnitTree
Represents the abstract syntax tree for compilation units (source
files) and package declarations (package-info.java).
|
interface |
CompoundAssignmentTree
A tree node for compound assignment operator.
|
interface |
ConditionalExpressionTree
A tree node for the conditional operator ? :.
|
interface |
ContinueTree
A tree node for a 'continue' statement.
|
interface |
DoWhileLoopTree
A tree node for a 'do' statement.
|
interface |
EmptyStatementTree
A tree node for an empty (skip) statement.
|
interface |
EnhancedForLoopTree
A tree node for an "enhanced" 'for' loop statement.
|
interface |
ErroneousTree
A tree node to stand in for a malformed expression.
|
interface |
ExpressionStatementTree
A tree node for an expression statement.
|
interface |
ExpressionTree
A tree node used as the base class for the different types of
expressions.
|
interface |
ForLoopTree
A tree node for a basic 'for' loop statement.
|
interface |
IdentifierTree
A tree node for an identifier expression.
|
interface |
IfTree
A tree node for an 'if' statement.
|
interface |
ImportTree
A tree node for an import statement.
|
interface |
InstanceOfTree
A tree node for an 'instanceof' expression.
|
interface |
IntersectionTypeTree
A tree node for an intersection type in a cast expression.
|
interface |
LabeledStatementTree
A tree node for a labeled statement.
|
interface |
LambdaExpressionTree
A tree node for a lambda expression.
|
static class |
LambdaExpressionTree.BodyKind
Lambda expressions come in two forms: (i) expression lambdas, whose body
is an expression, and (ii) statement lambdas, whose body is a block
|
interface |
LineMap
Provides methods to convert between character positions and line numbers
for a compilation unit.
|
interface |
LiteralTree
A tree node for a literal expression.
|
interface |
MemberReferenceTree
A tree node for a member reference expression.
|
static class |
MemberReferenceTree.ReferenceMode
There are two kinds of member references: (i) method references and
(ii) constructor references
|
interface |
MemberSelectTree
A tree node for a member access expression.
|
interface |
MethodInvocationTree
A tree node for a method invocation expression.
|
interface |
MethodTree
A tree node for a method or annotation type element declaration.
|
interface |
ModifiersTree
A tree node for the modifiers, including annotations, for a declaration.
|
interface |
NewArrayTree
A tree node for an expression to create a new instance of an array.
|
interface |
NewClassTree
A tree node to declare a new instance of a class.
|
interface |
ParameterizedTypeTree
A tree node for a type expression involving type parameters.
|
interface |
ParenthesizedTree
A tree node for a parenthesized expression.
|
interface |
PrimitiveTypeTree
A tree node for a primitive type.
|
interface |
ReturnTree
A tree node for a 'return' statement.
|
interface |
Scope
Interface for determining locally available program elements, such as
local variables and imports.
|
interface |
StatementTree
A tree node used as the base class for the different kinds of
statements.
|
interface |
SwitchTree
A tree node for a 'switch' statement.
|
interface |
SynchronizedTree
A tree node for a 'synchronized' statement.
|
interface |
ThrowTree
A tree node for a 'throw' statement.
|
interface |
Tree
Common interface for all nodes in an abstract syntax tree.
|
static class |
Tree.Kind
Enumerates all kinds of trees.
|
interface |
TreeVisitor<R,P>
A visitor of trees, in the style of the visitor design pattern.
|
interface |
TryTree
A tree node for a 'try' statement.
|
interface |
TypeCastTree
A tree node for a type cast expression.
|
interface |
TypeParameterTree
A tree node for a type parameter.
|
interface |
UnaryTree
A tree node for postfix and unary expressions.
|
interface |
UnionTypeTree
A tree node for a union type expression in a multicatch var declaration.
|
interface |
VariableTree
A tree node for a variable declaration.
|
interface |
WhileLoopTree
A tree node for a 'while' loop statement.
|
interface |
WildcardTree
A tree node for a wildcard type argument.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DocSourcePositions
Provides methods to obtain the position of a DocTree within a javadoc comment.
|
class |
DocTreePath
A 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 |
DocTrees
Provides access to syntax trees for doc comments.
|
class |
DocTreeScanner<R,P>
A TreeVisitor that visits all the child tree nodes.
|
class |
JavacTask
Provides access to functionality specific to the JDK Java Compiler, javac.
|
interface |
Plugin
The 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 |
SourcePositions
Provides methods to obtain the position of a Tree within a CompilationUnit.
|
class |
TaskEvent
Provides details about work that has been done by the JDK Java Compiler, javac.
|
static class |
TaskEvent.Kind
Kind of task event.
|
interface |
TaskListener
Provides a listener to monitor the activity of the JDK Java Compiler, javac.
|
class |
TreePath
A 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 |
Trees
Bridges 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 |
Exported
Indicates 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, 2015, Oracle and/or its affiliates. All rights reserved.