Package com.oracle.truffle.api.dsl
Annotation Interface InlineSupport.RequiredField
- Enclosing class:
InlineSupport
@Retention(CLASS)
@Target(PARAMETER)
@Repeatable(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
Modifier and TypeRequired ElementDescriptionClass
<? extends InlineSupport.InlinableField> Species which field type is expected. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
Specifies the number of bits needed forstate fields
.int
Specifies the compilation finaldimensions
of the required inlined field.Class
<?> 90 Specifies the the value type forreference
required 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 between1
and32
.- Since:
- 23.0
- Default:
0
-
type
Class<?> type90 Specifies the the value type forreference
required 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 finaldimensions
of the required inlined field. This property has only an effect with array types andreference fields
.- Since:
- 23.0
- Default:
0
-