public static final class InlineSupport.ByteField extends InlineSupport.InlinableField
Modifier and Type | Method and Description |
---|---|
static InlineSupport.ByteField |
create(MethodHandles.Lookup declaringLookup,
String field)
This method creates a new field given a lookup class and a field name.
|
byte |
get(Node node)
This method returns the value of the target field given a target node.
|
void |
set(Node node,
byte value)
This method sets the value of the target field giving the a target node.
|
validate
public byte get(Node node)
ClassCastException
is thrown. If null
is provided, then a
NullPointerException
is thrown.public void set(Node node, byte value)
ClassCastException
is thrown. If null
is provided, then a
NullPointerException
is thrown.public static InlineSupport.ByteField 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.