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

InlineSupport.IntField

Javaclassin com.oracle.truffle.api.dslsince 23.0

public static final class InlineSupport.IntField extends InlineSupport.InlinableField
Inheritance
  1. Object
  2. InlineSupport.UnsafeField
  3. InlineSupport.InlinableField
  4. IntField
Enclosing type
InlineSupport

Represents a field for int primitives in inlined nodes.

Members shown

Methods3 + 1 inherited

int get(Node)

get

since 23.0
public int get(Node node)

This method returns the value of the target field given a target node. The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.

Parameters

nodeNode
No description.

Returns

int
No description.
void set(Node, int)

set

since 23.0
public void set(Node node, int value)

This method sets the value of the target field giving the a target node. The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.

Parameters

nodeNode
No description.
valueint
No description.
static InlineSupport.IntField create(MethodHandles.Lookup, String)

create

staticsince 23.0
public static InlineSupport.IntField create(MethodHandles.Lookup declaringLookup, String field)

This method creates a new field given a lookup class and a field name. The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.

Parameters

declaringLookupMethodHandles.Lookup
No description.
fieldString
No description.

Returns

InlineSupport.IntField
No description.

Inherited members