Package org.codehaus.groovy.transform.sc
Enum StaticCompilationMetadataKeys
java.lang.Object
java.lang.Enum<StaticCompilationMetadataKeys>
org.codehaus.groovy.transform.sc.StaticCompilationMetadataKeys
- All Implemented Interfaces:
Serializable
,Comparable<StaticCompilationMetadataKeys>
,java.lang.constant.Constable
public enum StaticCompilationMetadataKeys extends Enum<StaticCompilationMetadataKeys>
Static compilation AST node metadata keys.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY_EXP_TARGET
COMPONENT_TYPE
DYNAMIC_OUTER_NODE_CALLBACK
PRIVATE_BRIDGE_METHODS
PRIVATE_FIELDS_ACCESSORS
PRIVATE_FIELDS_MUTATORS
PROPERTY_OWNER
RECEIVER_OF_DYNAMIC_PROPERTY
STATIC_COMPILE_NODE
-
Method Summary
Modifier and Type Method Description static StaticCompilationMetadataKeys
valueOf(String name)
Returns the enum constant of this type with the specified name.static StaticCompilationMetadataKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATIC_COMPILE_NODE
-
BINARY_EXP_TARGET
-
PRIVATE_BRIDGE_METHODS
-
PRIVATE_FIELDS_ACCESSORS
-
PRIVATE_FIELDS_MUTATORS
-
DYNAMIC_OUTER_NODE_CALLBACK
-
PROPERTY_OWNER
-
COMPONENT_TYPE
-
RECEIVER_OF_DYNAMIC_PROPERTY
-
-
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
-