| Modifier and Type | Method and Description |
|---|---|
DynFields.StaticField<T> |
asStatic()
Returns this field as a StaticField.
|
DynFields.BoundField<T> |
bind(Object target)
Returns this method as a BoundMethod for the given receiver.
|
T |
get(Object target) |
boolean |
isAlwaysNull()
Returns whether the field is always null.
|
boolean |
isStatic()
Returns whether the field is a static field.
|
void |
set(Object target,
T value) |
String |
toString() |
public DynFields.BoundField<T> bind(Object target)
target - an Object on which to get or set this fieldDynFields.BoundField for this field and the targetIllegalStateException - if the method is staticIllegalArgumentException - if the receiver's class is incompatiblepublic DynFields.StaticField<T> asStatic()
DynFields.StaticField for this fieldIllegalStateException - if the method is not staticpublic boolean isStatic()
public boolean isAlwaysNull()
Copyright © 2023 The Apache Software Foundation. All rights reserved.