Annotation Interface InlineSupport.RequiredField
- Enclosing class:
InlineSupport
@Retention(CLASS)
@Target(PARAMETER)
@Repeatable(InlineSupport.RequiredFields.class)
public static @interface InlineSupport.RequiredField
Used to specify fields for node object inlining in inline methods for the
inline target.
See InlineSupport.InlineTarget for a full usage example.
- Since:
- 23.0
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends InlineSupport.InlinableField> Species which field type is expected. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintSpecifies the number of bits needed forstate fields.intSpecifies the compilation finaldimensionsof the required inlined field.Class<?> 90 Specifies the the value type forreferencerequired fields.
-
Element Details
-
value
Class<? extends InlineSupport.InlinableField> valueSpecies which field type is expected. See subclasses ofInlineSupport.InlinableField.- Since:
- 23.0
-
bits
int bitsSpecifies the number of bits needed forstate fields. This property only has an effect forInlineSupport.StateField. The number of bits must be between1and32.- Since:
- 23.0
- Default:
0
-
type
Class<?> type90 Specifies the the value type forreferencerequired fields. This property only has an effect forInlineSupport.ReferenceField.- Since:
- 23.0
- Default:
com.oracle.truffle.api.dsl.InlineSupport.InlinableField.class
-
dimensions
int dimensionsSpecifies the compilation finaldimensionsof the required inlined field. This property has only an effect with array types andreference fields.- Since:
- 23.0
- Default:
0
-