public static final class Accessors.SynchronizedFieldAccessor extends Object implements FieldAccessor
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object instance)
Retrieve the value of a field for a particular instance.
|
Field |
getField()
Retrieve the underlying field.
|
void |
set(Object instance,
Object value)
Set the value of a field for a particular instance.
|
public void set(Object instance, Object value)
FieldAccessorset in interface FieldAccessorinstance - - the instance, or NULL for a static field.value - - the new value of the field.public Object get(Object instance)
FieldAccessorget in interface FieldAccessorinstance - - the instance, or NULL for a static field.public Field getField()
FieldAccessorgetField in interface FieldAccessorCopyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.