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
Static compilation AST node metadata keys.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionTells which method should be used in a binary expression.For list.property expressions, we need the inferred component type.Callback for dynamic classes that contain statically compiled inner classes or methods.Private bridge methods are methods used to access a nestmate's method.Deprecated.Deprecated.The type of the class which owns the property.If a receiver is the receiver of a dynamic property (for mixed-mode compilation).Marks a section of code for static compilation.
- 
Method SummaryModifier and TypeMethodDescriptionReturns 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_NODEMarks a section of code for static compilation.
- 
BINARY_EXP_TARGETTells which method should be used in a binary expression.
- 
PRIVATE_BRIDGE_METHODSPrivate bridge methods are methods used to access a nestmate's method.
- 
PRIVATE_FIELDS_ACCESSORS@Deprecated(since="5.0.0") public static final StaticCompilationMetadataKeys PRIVATE_FIELDS_ACCESSORSDeprecated.Private fields accessors are methods used to read a nestmate's field.
- 
PRIVATE_FIELDS_MUTATORS@Deprecated(since="5.0.0") public static final StaticCompilationMetadataKeys PRIVATE_FIELDS_MUTATORSDeprecated.Private fields mutators are methods used to write a nestmate's field.
- 
DYNAMIC_OUTER_NODE_CALLBACKCallback for dynamic classes that contain statically compiled inner classes or methods.
- 
PROPERTY_OWNERThe type of the class which owns the property.
- 
COMPONENT_TYPEFor list.property expressions, we need the inferred component type.
- 
RECEIVER_OF_DYNAMIC_PROPERTYIf a receiver is the receiver of a dynamic property (for mixed-mode compilation).
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-