public static final class InlineSupport.LongField extends InlineSupport.InlinableField
Modifier and Type | Method and Description |
---|---|
static InlineSupport.LongField |
create(MethodHandles.Lookup declaringLookup,
String field)
This method creates a new field given a lookup class and a field name.
|
long |
get(Node node)
This method returns the value of the target field given a target node.
|
void |
set(Node node,
long value)
This method sets the value of the target field giving the a target node.
|
validate
public long get(Node node)
ClassCastException
is thrown. If null
is provided, then a
NullPointerException
is thrown.public void set(Node node, long value)
ClassCastException
is thrown. If null
is provided, then a
NullPointerException
is thrown.public static InlineSupport.LongField create(MethodHandles.Lookup declaringLookup, String field)
IllegalArgumentException
is thrown.
The given field must not be final. This method is intended to be used by DSL-generated
code only.