public static final class Accessors.SynchronizedFieldAccessor extends java.lang.Object implements FieldAccessor
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.Object instance)
Retrieve the value of a field for a particular instance.
|
java.lang.reflect.Field |
getField()
Retrieve the underlying field.
|
void |
set(java.lang.Object instance,
java.lang.Object value)
Set the value of a field for a particular instance.
|
public void set(java.lang.Object instance, java.lang.Object value)
FieldAccessor
set
in interface FieldAccessor
instance
- - the instance, or NULL for a static field.value
- - the new value of the field.public java.lang.Object get(java.lang.Object instance)
FieldAccessor
get
in interface FieldAccessor
instance
- - the instance, or NULL for a static field.public java.lang.reflect.Field getField()
FieldAccessor
getField
in interface FieldAccessor