Enum Class Tree.Kind
- All Implemented Interfaces:
- Serializable,- Comparable<Tree.Kind>,- Constable
- Enclosing interface:
- Tree
- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionUsed for instances ofBinaryTreerepresenting bitwise and logical "and"&.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "and" assignment&=.Used for instances ofAnnotatedTypeTreerepresenting annotated types.Used for instances ofAnnotationTreerepresenting declaration annotations.Used for instances ofClassTreerepresenting annotation types.Used for instances ofBindingPatternTree.Used for instances ofArrayAccessTree.Used for instances ofArrayTypeTree.Used for instances ofAssertTree.Used for instances ofAssignmentTree.Used for instances ofBindingPatternTree.Used for instances ofUnaryTreerepresenting bitwise complement operator~.Used for instances ofBlockTree.Used for instances ofLiteralTreerepresenting a boolean literal expression of typeboolean.Used for instances ofBreakTree.Used for instances ofCaseTree.Used for instances ofCatchTree.Used for instances ofLiteralTreerepresenting a character literal expression of typechar.Used for instances ofClassTreerepresenting classes.Used for instances ofCompilationUnitTree.Used for instances ofBinaryTreerepresenting conditional-and&&.Used for instances ofConditionalExpressionTree.Used for instances ofBinaryTreerepresenting conditional-or||.Used for instances ofConstantCaseLabelTree.Used for instances ofContinueTree.Used for instances ofDeconstructionPatternTree.Used for instances ofDefaultCaseLabelTree.Used for instances ofBinaryTreerepresenting division/.Used for instances ofCompoundAssignmentTreerepresenting division assignment/=.Used for instances ofDoWhileLoopTree.Used for instances ofLiteralTreerepresenting a floating-point literal expression of typedouble.Used for instances ofEmptyStatementTree.Used for instances ofEnhancedForLoopTree.Used for instances ofClassTreerepresenting enums.Used for instances ofBinaryTreerepresenting equal-to==.Used for instances ofErroneousTree.Used for instances ofExportsTreerepresenting exports directives in a module declaration.Used for instances ofExpressionStatementTree.Used for instances ofWildcardTreerepresenting an upper-bounded wildcard type argument.Used for instances ofLiteralTreerepresenting a floating-point literal expression of typefloat.Used for instances ofForLoopTree.Used for instances ofBinaryTreerepresenting greater-than>.Used for instances ofBinaryTreerepresenting greater-than-equal>=.Used for instances ofIdentifierTree.Used for instances ofIfTree.Used for instances ofImportTree.Used for instances ofInstanceOfTree.Used for instances ofLiteralTreerepresenting an integral literal expression of typeint.Used for instances ofClassTreerepresenting interfaces.Used for instances ofIntersectionTypeTree.Used for instances ofLabeledStatementTree.Used for instances ofLambdaExpressionTree.Used for instances ofBinaryTreerepresenting left shift<<.Used for instances ofCompoundAssignmentTreerepresenting left shift assignment<<=.Used for instances ofBinaryTreerepresenting less-than<.Used for instances ofBinaryTreerepresenting less-than-equal<=.Used for instances ofUnaryTreerepresenting logical complement operator!.Used for instances ofLiteralTreerepresenting an integral literal expression of typelong.Used for instances ofMemberReferenceTree.Used for instances ofMemberSelectTree.Used for instances ofMethodTree.Used for instances ofMethodInvocationTree.Used for instances ofBinaryTreerepresenting subtraction-.Used for instances ofCompoundAssignmentTreerepresenting subtraction assignment-=.Used for instances ofModifiersTree.Used for instances ofModuleTreerepresenting module declarations.Used for instances ofBinaryTreerepresenting multiplication*.Used for instances ofCompoundAssignmentTreerepresenting multiplication assignment*=.Used for instances ofNewArrayTree.Used for instances ofNewClassTree.Used for instances ofBinaryTreerepresenting not-equal-to!=.Used for instances ofLiteralTreerepresenting the use ofnull.Used for instances ofExportsTreerepresenting opens directives in a module declaration.Used for instances ofBinaryTreerepresenting bitwise and logical "or"|.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "or" assignment|=.An implementation-reserved node.Used for instances ofPackageTree.Used for instances ofParameterizedTypeTree.Used for instances ofParenthesizedTree.Used for instances ofPatternCaseLabelTree.Used for instances ofBinaryTreerepresenting addition or string concatenation+.Used for instances ofCompoundAssignmentTreerepresenting addition or string concatenation assignment+=.Used for instances ofUnaryTreerepresenting postfix decrement operator--.Used for instances ofUnaryTreerepresenting postfix increment operator++.Used for instances ofUnaryTreerepresenting prefix decrement operator--.Used for instances ofUnaryTreerepresenting prefix increment operator++.Used for instances ofPrimitiveTypeTree.Used for instances ofProvidesTreerepresenting provides directives in a module declaration.Used for instances ofClassTreerepresenting records.Used for instances ofBinaryTreerepresenting remainder%.Used for instances ofCompoundAssignmentTreerepresenting remainder assignment%=.Used for instances ofRequiresTreerepresenting requires directives in a module declaration.Used for instances ofReturnTree.Used for instances ofBinaryTreerepresenting right shift>>.Used for instances ofCompoundAssignmentTreerepresenting right shift assignment>>=.Used for instances ofLiteralTreerepresenting a string literal expression of typeString.Used for instances ofWildcardTreerepresenting a lower-bounded wildcard type argument.Used for instances ofSwitchTree.Used for instances ofSwitchExpressionTree.Used for instances ofSynchronizedTree.Used for instances ofThrowTree.Used for instances ofTryTree.Used for instances ofAnnotationTreerepresenting type annotations.Used for instances ofTypeCastTree.Used for instances ofTypeParameterTree.Used for instances ofUnaryTreerepresenting unary minus operator-.Used for instances ofUnaryTreerepresenting unary plus operator+.Used for instances ofWildcardTreerepresenting an unbounded wildcard type argument.Used for instances ofUnionTypeTree.Used for instances ofBinaryTreerepresenting unsigned right shift>>>.Used for instances ofCompoundAssignmentTreerepresenting unsigned right shift assignment>>>=.Used for instances ofUsesTreerepresenting uses directives in a module declaration.Used for instances ofVariableTree.Used for instances ofWhileLoopTree.Used for instances ofBinaryTreerepresenting bitwise and logical "xor"^.Used for instances ofCompoundAssignmentTreerepresenting bitwise and logical "xor" assignment^=.Used for instances ofYieldTree.
- 
Method Summary
- 
Enum Constant Details- 
ANNOTATED_TYPEUsed for instances ofAnnotatedTypeTreerepresenting annotated types.
- 
ANNOTATIONUsed for instances ofAnnotationTreerepresenting declaration annotations.
- 
TYPE_ANNOTATIONUsed for instances ofAnnotationTreerepresenting type annotations.
- 
ARRAY_ACCESSUsed for instances ofArrayAccessTree.
- 
ARRAY_TYPEUsed for instances ofArrayTypeTree.
- 
ASSERTUsed for instances ofAssertTree.
- 
ASSIGNMENTUsed for instances ofAssignmentTree.
- 
BLOCK
- 
BREAK
- 
CASE
- 
CATCH
- 
CLASS
- 
COMPILATION_UNITUsed for instances ofCompilationUnitTree.
- 
CONDITIONAL_EXPRESSIONUsed for instances ofConditionalExpressionTree.
- 
CONTINUEUsed for instances ofContinueTree.
- 
DO_WHILE_LOOPUsed for instances ofDoWhileLoopTree.
- 
ENHANCED_FOR_LOOPUsed for instances ofEnhancedForLoopTree.
- 
EXPRESSION_STATEMENTUsed for instances ofExpressionStatementTree.
- 
MEMBER_SELECTUsed for instances ofMemberSelectTree.
- 
MEMBER_REFERENCEUsed for instances ofMemberReferenceTree.
- 
FOR_LOOPUsed for instances ofForLoopTree.
- 
IDENTIFIERUsed for instances ofIdentifierTree.
- 
IF
- 
IMPORTUsed for instances ofImportTree.
- 
INSTANCE_OFUsed for instances ofInstanceOfTree.
- 
LABELED_STATEMENTUsed for instances ofLabeledStatementTree.
- 
METHODUsed for instances ofMethodTree.
- 
METHOD_INVOCATIONUsed for instances ofMethodInvocationTree.
- 
MODIFIERSUsed for instances ofModifiersTree.
- 
NEW_ARRAYUsed for instances ofNewArrayTree.
- 
NEW_CLASSUsed for instances ofNewClassTree.
- 
LAMBDA_EXPRESSIONUsed for instances ofLambdaExpressionTree.
- 
PACKAGE
- 
PARENTHESIZEDUsed for instances ofParenthesizedTree.
- 
ANY_PATTERN
- 
BINDING_PATTERN
- 
DEFAULT_CASE_LABELUsed for instances ofDefaultCaseLabelTree.- Since:
- 21
 
- 
CONSTANT_CASE_LABELUsed for instances ofConstantCaseLabelTree.- Since:
- 21
 
- 
PATTERN_CASE_LABELUsed for instances ofPatternCaseLabelTree.- Since:
- 21
 
- 
DECONSTRUCTION_PATTERNUsed for instances ofDeconstructionPatternTree.- Since:
- 21
 
- 
PRIMITIVE_TYPEUsed for instances ofPrimitiveTypeTree.
- 
RETURNUsed for instances ofReturnTree.
- 
EMPTY_STATEMENTUsed for instances ofEmptyStatementTree.
- 
SWITCHUsed for instances ofSwitchTree.
- 
SWITCH_EXPRESSIONUsed for instances ofSwitchExpressionTree.- Since:
- 14
 
- 
SYNCHRONIZEDUsed for instances ofSynchronizedTree.
- 
THROW
- 
TRY
- 
PARAMETERIZED_TYPEUsed for instances ofParameterizedTypeTree.
- 
UNION_TYPEUsed for instances ofUnionTypeTree.
- 
INTERSECTION_TYPEUsed for instances ofIntersectionTypeTree.
- 
TYPE_CASTUsed for instances ofTypeCastTree.
- 
TYPE_PARAMETERUsed for instances ofTypeParameterTree.
- 
VARIABLEUsed for instances ofVariableTree.
- 
WHILE_LOOPUsed for instances ofWhileLoopTree.
- 
POSTFIX_INCREMENT
- 
POSTFIX_DECREMENT
- 
PREFIX_INCREMENT
- 
PREFIX_DECREMENT
- 
UNARY_PLUS
- 
UNARY_MINUS
- 
BITWISE_COMPLEMENT
- 
LOGICAL_COMPLEMENT
- 
MULTIPLYUsed for instances ofBinaryTreerepresenting multiplication*.
- 
DIVIDEUsed for instances ofBinaryTreerepresenting division/.
- 
REMAINDERUsed for instances ofBinaryTreerepresenting remainder%.
- 
PLUSUsed for instances ofBinaryTreerepresenting addition or string concatenation+.
- 
MINUSUsed for instances ofBinaryTreerepresenting subtraction-.
- 
LEFT_SHIFTUsed for instances ofBinaryTreerepresenting left shift<<.
- 
RIGHT_SHIFTUsed for instances ofBinaryTreerepresenting right shift>>.
- 
UNSIGNED_RIGHT_SHIFTUsed for instances ofBinaryTreerepresenting unsigned right shift>>>.
- 
LESS_THANUsed for instances ofBinaryTreerepresenting less-than<.
- 
GREATER_THANUsed for instances ofBinaryTreerepresenting greater-than>.
- 
LESS_THAN_EQUALUsed for instances ofBinaryTreerepresenting less-than-equal<=.
- 
GREATER_THAN_EQUALUsed for instances ofBinaryTreerepresenting greater-than-equal>=.
- 
EQUAL_TOUsed for instances ofBinaryTreerepresenting equal-to==.
- 
NOT_EQUAL_TOUsed for instances ofBinaryTreerepresenting not-equal-to!=.
- 
ANDUsed for instances ofBinaryTreerepresenting bitwise and logical "and"&.
- 
XORUsed for instances ofBinaryTreerepresenting bitwise and logical "xor"^.
- 
ORUsed for instances ofBinaryTreerepresenting bitwise and logical "or"|.
- 
CONDITIONAL_ANDUsed for instances ofBinaryTreerepresenting conditional-and&&.
- 
CONDITIONAL_ORUsed for instances ofBinaryTreerepresenting conditional-or||.
- 
MULTIPLY_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting multiplication assignment*=.
- 
DIVIDE_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting division assignment/=.
- 
REMAINDER_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting remainder assignment%=.
- 
PLUS_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting addition or string concatenation assignment+=.
- 
MINUS_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting subtraction assignment-=.
- 
LEFT_SHIFT_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting left shift assignment<<=.
- 
RIGHT_SHIFT_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting right shift assignment>>=.
- 
UNSIGNED_RIGHT_SHIFT_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting unsigned right shift assignment>>>=.
- 
AND_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting bitwise and logical "and" assignment&=.
- 
XOR_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting bitwise and logical "xor" assignment^=.
- 
OR_ASSIGNMENTUsed for instances ofCompoundAssignmentTreerepresenting bitwise and logical "or" assignment|=.
- 
INT_LITERALUsed for instances ofLiteralTreerepresenting an integral literal expression of typeint.
- 
LONG_LITERALUsed for instances ofLiteralTreerepresenting an integral literal expression of typelong.
- 
FLOAT_LITERALUsed for instances ofLiteralTreerepresenting a floating-point literal expression of typefloat.
- 
DOUBLE_LITERALUsed for instances ofLiteralTreerepresenting a floating-point literal expression of typedouble.
- 
BOOLEAN_LITERALUsed for instances ofLiteralTreerepresenting a boolean literal expression of typeboolean.
- 
CHAR_LITERALUsed for instances ofLiteralTreerepresenting a character literal expression of typechar.
- 
STRING_LITERALUsed for instances ofLiteralTreerepresenting a string literal expression of typeString.
- 
NULL_LITERALUsed for instances ofLiteralTreerepresenting the use ofnull.
- 
UNBOUNDED_WILDCARDUsed for instances ofWildcardTreerepresenting an unbounded wildcard type argument.
- 
EXTENDS_WILDCARDUsed for instances ofWildcardTreerepresenting an upper-bounded wildcard type argument.
- 
SUPER_WILDCARDUsed for instances ofWildcardTreerepresenting a lower-bounded wildcard type argument.
- 
ERRONEOUSUsed for instances ofErroneousTree.
- 
INTERFACE
- 
ENUM
- 
ANNOTATION_TYPE
- 
MODULEUsed for instances ofModuleTreerepresenting module declarations.
- 
EXPORTSUsed for instances ofExportsTreerepresenting exports directives in a module declaration.
- 
OPENSUsed for instances ofExportsTreerepresenting opens directives in a module declaration.
- 
PROVIDESUsed for instances ofProvidesTreerepresenting provides directives in a module declaration.
- 
RECORD
- 
REQUIRESUsed for instances ofRequiresTreerepresenting requires directives in a module declaration.
- 
USES
- 
OTHERAn implementation-reserved node. This is not the node you are looking for.
- 
YIELD
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
asInterface
 
-