InlineSupport.RequiredField
@Retention(CLASS)
@Target({PARAMETER})
@Repeatable(com.oracle.truffle.api.dsl.InlineSupport.RequiredFields.class)
public @interface InlineSupport.RequiredField- Enclosing type
InlineSupport
Used to specify fields for node object inlining in inline methods for the inline target.
See InlineTarget for a full usage example.
Elements4
Class<? extends InlineSupport.InlinableField> value()
value
since 23.0Class< ? extends InlineSupport.InlinableField> value()Species which field type is expected. See subclasses of InlinableField.
Returns
Class<? extends InlineSupport.InlinableField> - No description.
int bits()
bits
since 23.0int bits() default 0Specifies the number of bits needed for state fields. This property only has an effect for StateField. The number of bits must be between 1 and32.
Returns
int- No description.
Default: 0
Class<?> type()
type
since 23.0Class< ?> type() default com.oracle.truffle.api.dsl.InlineSupport.InlinableField.class90 Specifies the value type for reference required fields. This property only has an effect for ReferenceField.
Returns
Class<?> - No description.
Default: com.oracle.truffle.api.dsl.InlineSupport.InlinableField.class
int dimensions()
dimensions
since 23.0int dimensions() default 0Specifies the compilation final dimensions of the required inlined field. This property has only an effect with array types and reference fields.
Returns
int- No description.
Default: 0