Elide GraalVM25.6.0-elide.4
All types
Versions and modules

InlineSupport.RequiredField

Javaannotation interfacein com.oracle.truffle.api.dslsince 23.0

@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.0
Class<? 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.0
int bits() default 0

Specifies 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.0
Class<?> type() default com.oracle.truffle.api.dsl.InlineSupport.InlinableField.class

90 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.0
int dimensions() default 0

Specifies 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