public interface IFieldHandler
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue(java.lang.Object receiver)
Make a reflective read access to the field represented by this within the
receiver . |
java.lang.Object |
setValue(java.lang.Object receiver,
java.lang.Object value)
Make a reflective write access to the field represented by this within
receiver . |
java.lang.Object getValue(java.lang.Object receiver) throws FieldAccessException
receiver
.receiver
- The object hosting the field.FieldException
FieldAccessException
java.lang.Object setValue(java.lang.Object receiver, java.lang.Object value) throws FieldAccessException
receiver
.receiver
- The object hosting the field.value
- The new value for the fieldFieldException
FieldAccessException