Enumerates all kinds of trees.
Field Summary |
---|
public Kind | ANNOTATION | Used for instances of AnnotationTree . |
public Kind | ARRAY_ACCESS | Used for instances of ArrayAccessTree . |
public Kind | ARRAY_TYPE | Used for instances of ArrayTypeTree . |
public Kind | ASSERT | Used for instances of AssertTree . |
public Kind | ASSIGNMENT | Used for instances of AssignmentTree . |
public Kind | BLOCK | Used for instances of BlockTree . |
public Kind | BREAK | Used for instances of BreakTree . |
public Kind | CASE | Used for instances of CaseTree . |
public Kind | CATCH | Used for instances of CatchTree . |
public Kind | CLASS | Used for instances of ClassTree representing classes. |
public Kind | COMPILATION_UNIT | Used for instances of CompilationUnitTree . |
public Kind | CONDITIONAL_EXPRESSION | Used for instances of ConditionalExpressionTree . |
public Kind | CONTINUE | Used for instances of ContinueTree . |
public Kind | DO_WHILE_LOOP | Used for instances of DoWhileLoopTree . |
public Kind | ENHANCED_FOR_LOOP | Used for instances of EnhancedForLoopTree . |
public Kind | EXPRESSION_STATEMENT | Used for instances of ExpressionStatementTree . |
public Kind | MEMBER_SELECT | Used for instances of MemberSelectTree . |
public Kind | FOR_LOOP | Used for instances of ForLoopTree . |
public Kind | IDENTIFIER | Used for instances of IdentifierTree . |
public Kind | IF | Used for instances of IfTree . |
public Kind | IMPORT | Used for instances of ImportTree . |
public Kind | INSTANCE_OF | Used for instances of InstanceOfTree . |
public Kind | LABELED_STATEMENT | Used for instances of LabeledStatementTree . |
public Kind | METHOD | Used for instances of MethodTree . |
public Kind | METHOD_INVOCATION | Used for instances of MethodInvocationTree . |
public Kind | MODIFIERS | Used for instances of ModifiersTree . |
public Kind | NEW_ARRAY | Used for instances of NewArrayTree . |
public Kind | NEW_CLASS | Used for instances of NewClassTree . |
public Kind | PARENTHESIZED | Used for instances of ParenthesizedTree . |
public Kind | PRIMITIVE_TYPE | Used for instances of PrimitiveTypeTree . |
public Kind | RETURN | Used for instances of ReturnTree . |
public Kind | EMPTY_STATEMENT | Used for instances of EmptyStatementTree . |
public Kind | SWITCH | Used for instances of SwitchTree . |
public Kind | SYNCHRONIZED | Used for instances of SynchronizedTree . |
public Kind | THROW | Used for instances of ThrowTree . |
public Kind | TRY | Used for instances of TryTree . |
public Kind | PARAMETERIZED_TYPE | Used for instances of ParameterizedTypeTree . |
public Kind | UNION_TYPE | Used for instances of UnionTypeTree . |
public Kind | TYPE_CAST | Used for instances of TypeCastTree . |
public Kind | TYPE_PARAMETER | Used for instances of TypeParameterTree . |
public Kind | VARIABLE | Used for instances of VariableTree . |
public Kind | WHILE_LOOP | Used for instances of WhileLoopTree . |
public Kind | POSTFIX_INCREMENT | Used for instances of UnaryTree representing postfix
increment operator {@code ++}. |
public Kind | POSTFIX_DECREMENT | Used for instances of UnaryTree representing postfix
decrement operator {@code --}. |
public Kind | PREFIX_INCREMENT | Used for instances of UnaryTree representing prefix
increment operator {@code ++}. |
public Kind | PREFIX_DECREMENT | Used for instances of UnaryTree representing prefix
decrement operator {@code --}. |
public Kind | UNARY_PLUS | Used for instances of UnaryTree representing unary plus
operator {@code +}. |
public Kind | UNARY_MINUS | Used for instances of UnaryTree representing unary minus
operator {@code -}. |
public Kind | BITWISE_COMPLEMENT | Used for instances of UnaryTree representing bitwise
complement operator {@code ~}. |
public Kind | LOGICAL_COMPLEMENT | Used for instances of UnaryTree representing logical
complement operator {@code !}. |
public Kind | MULTIPLY | Used for instances of BinaryTree representing
multiplication {@code *}. |
public Kind | DIVIDE | Used for instances of BinaryTree representing
division {@code /}. |
public Kind | REMAINDER | Used for instances of BinaryTree representing
remainder {@code %}. |
public Kind | PLUS | Used for instances of BinaryTree representing
addition or string concatenation {@code +}. |
public Kind | MINUS | Used for instances of BinaryTree representing
subtraction {@code -}. |
public Kind | LEFT_SHIFT | Used for instances of BinaryTree representing
left shift {@code <<}. |
public Kind | RIGHT_SHIFT | Used for instances of BinaryTree representing
right shift {@code >>}. |
public Kind | UNSIGNED_RIGHT_SHIFT | Used for instances of BinaryTree representing
unsigned right shift {@code >>>}. |
public Kind | LESS_THAN | Used for instances of BinaryTree representing
less-than {@code <}. |
public Kind | GREATER_THAN | Used for instances of BinaryTree representing
greater-than {@code >}. |
public Kind | LESS_THAN_EQUAL | Used for instances of BinaryTree representing
less-than-equal {@code <=}. |
public Kind | GREATER_THAN_EQUAL | Used for instances of BinaryTree representing
greater-than-equal {@code >=}. |
public Kind | EQUAL_TO | Used for instances of BinaryTree representing
equal-to {@code ==}. |
public Kind | NOT_EQUAL_TO | Used for instances of BinaryTree representing
not-equal-to {@code !=}. |
public Kind | AND | Used for instances of BinaryTree representing
bitwise and logical "and" {@code &}. |
public Kind | XOR | Used for instances of BinaryTree representing
bitwise and logical "xor" {@code ^}. |
public Kind | OR | Used for instances of BinaryTree representing
bitwise and logical "or" {@code |}. |
public Kind | CONDITIONAL_AND | Used for instances of BinaryTree representing
conditional-and {@code &&}. |
public Kind | CONDITIONAL_OR | Used for instances of BinaryTree representing
conditional-or {@code ||}. |
public Kind | MULTIPLY_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
multiplication assignment {@code *=}. |
public Kind | DIVIDE_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
division assignment {@code /=}. |
public Kind | REMAINDER_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
remainder assignment {@code %=}. |
public Kind | PLUS_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
addition or string concatenation assignment {@code +=}. |
public Kind | MINUS_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
subtraction assignment {@code -=}. |
public Kind | LEFT_SHIFT_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
left shift assignment {@code <<=}. |
public Kind | RIGHT_SHIFT_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
right shift assignment {@code >>=}. |
public Kind | UNSIGNED_RIGHT_SHIFT_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
unsigned right shift assignment {@code >>>=}. |
public Kind | AND_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
bitwise and logical "and" assignment {@code &=}. |
public Kind | XOR_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
bitwise and logical "xor" assignment {@code ^=}. |
public Kind | OR_ASSIGNMENT | Used for instances of CompoundAssignmentTree representing
bitwise and logical "or" assignment {@code |=}. |
public Kind | INT_LITERAL | Used for instances of LiteralTree representing
an integral literal expression of type {@code int}. |
public Kind | LONG_LITERAL | Used for instances of LiteralTree representing
an integral literal expression of type {@code long}. |
public Kind | FLOAT_LITERAL | Used for instances of LiteralTree representing
a floating-point literal expression of type {@code float}. |
public Kind | DOUBLE_LITERAL | Used for instances of LiteralTree representing
a floating-point literal expression of type {@code double}. |
public Kind | BOOLEAN_LITERAL | Used for instances of LiteralTree representing
a boolean literal expression of type {@code boolean}. |
public Kind | CHAR_LITERAL | Used for instances of LiteralTree representing
a character literal expression of type {@code char}. |
public Kind | STRING_LITERAL | Used for instances of LiteralTree representing
a string literal expression of type String . |
public Kind | NULL_LITERAL | Used for instances of LiteralTree representing
the use of {@code null}. |
public Kind | UNBOUNDED_WILDCARD | Used for instances of WildcardTree representing
an unbounded wildcard type argument. |
public Kind | EXTENDS_WILDCARD | Used for instances of WildcardTree representing
an extends bounded wildcard type argument. |
public Kind | SUPER_WILDCARD | Used for instances of WildcardTree representing
a super bounded wildcard type argument. |
public Kind | ERRONEOUS | Used for instances of ErroneousTree . |
public Kind | INTERFACE | Used for instances of ClassTree representing interfaces. |
public Kind | ENUM | Used for instances of ClassTree representing enums. |
public Kind | ANNOTATION_TYPE | Used for instances of ClassTree representing annotation types. |
public Kind | OTHER | An implementation-reserved node. This is the not the node
you are looking for. |
Method from com.sun.source.tree.Tree$Kind Summary: |
---|
asInterface |
Method from com.sun.source.tree.Tree$Kind Detail: |
public Class<Tree> asInterface() {
return associatedInterface;
}
|