Package | Description |
---|---|
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
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 |
AssignmentTree
A tree node for an assignment expression.
|
interface |
BinaryTree
A tree node for a binary expression.
|
interface |
CompoundAssignmentTree
A tree node for compound assignment operator.
|
interface |
ConditionalExpressionTree
A tree node for the conditional operator ? :.
|
interface |
ErroneousTree
A tree node to stand in for a malformed expression.
|
interface |
IdentifierTree
A tree node for an identifier expression.
|
interface |
InstanceOfTree
A tree node for an 'instanceof' expression.
|
interface |
LambdaExpressionTree
A tree node for a lambda expression.
|
interface |
LiteralTree
A tree node for a literal expression.
|
interface |
MemberReferenceTree
A tree node for a member reference expression.
|
interface |
MemberSelectTree
A tree node for a member access expression.
|
interface |
MethodInvocationTree
A tree node for a method invocation expression.
|
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 |
ParenthesizedTree
A tree node for a parenthesized expression.
|
interface |
TypeCastTree
A tree node for a type cast expression.
|
interface |
UnaryTree
A tree node for postfix and unary expressions.
|
Modifier and Type | Method and Description |
---|---|
List<? extends ExpressionTree> |
AnnotationTree.getArguments() |
List<? extends ExpressionTree> |
NewClassTree.getArguments() |
List<? extends ExpressionTree> |
MethodInvocationTree.getArguments() |
List<? extends ExpressionTree> |
NewArrayTree.getDimensions() |
List<? extends ExpressionTree> |
NewArrayTree.getInitializers() |
List<? extends ExpressionTree> |
MethodTree.getThrows() |
List<? extends ExpressionTree> |
MemberReferenceTree.getTypeArguments() |
Copyright © 2005, 2015, Oracle and/or its affiliates. All rights reserved.