public interface FieldAccessor
Field values.| Modifier and Type | Method and Description |
|---|---|
Object |
getFieldValue(Object object,
Field field)
Returns the field value for the given object
|
static FieldAccessor |
newInstance()
Returns the
FieldAccessor instance suitable for the JDK running this code. |
Object getFieldValue(Object object, Field field)
object - the object for which the field value must be returnedfield - the field to accessstatic FieldAccessor newInstance()
FieldAccessor instance suitable for the JDK running this code.FieldAccessor instanceCopyright © 2023. All rights reserved.