InlineSupport.IntField
public static final class InlineSupport.IntField extends InlineSupport.InlinableField- Inheritance
ObjectInlineSupport.UnsafeFieldInlineSupport.InlinableFieldIntField
- Enclosing type
InlineSupport
Represents a field for int primitives in inlined nodes.
Methods3 + 1 inherited
int get(Node)
get
since 23.0public 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.0public 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.0public 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.