Enum StaticTypesMarker
- All Implemented Interfaces:
Serializable
,Comparable<StaticTypesMarker>
,java.lang.constant.Constable
This enumeration is used by the AST transformations which rely on static type checking, either
to store or to retrieve information from AST node metadata. The values of this enumeration are
used as metadata keys.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticTypesMarker
Returns the enum constant of this type with the specified name.static StaticTypesMarker[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INFERRED_TYPE
-
DECLARATION_INFERRED_TYPE
-
INFERRED_RETURN_TYPE
-
CLOSURE_ARGUMENTS
-
READONLY_PROPERTY
-
INITIAL_EXPRESSION
-
DIRECT_METHOD_CALL_TARGET
-
DELEGATION_METADATA
-
IMPLICIT_RECEIVER
-
PV_FIELDS_ACCESS
-
PV_FIELDS_MUTATION
-
PV_METHODS_ACCESS
-
DYNAMIC_RESOLUTION
-
SUPER_MOP_METHOD_REQUIRED
-
PARAMETER_TYPE
-
INFERRED_FUNCTIONAL_INTERFACE_TYPE
Deprecated. -
CONSTRUCTED_LAMBDA_EXPRESSION
Deprecated. -
SWITCH_CONDITION_EXPRESSION_TYPE
-
TYPE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-