public class FieldValueHelper extends Object
Constructor and Description |
---|
FieldValueHelper() |
public static Object getFieldValue(Object obj, Field field) throws IllegalAccessException
obj
- the object holding the fieldfield
- the field whose value is to be returned.IllegalAccessException
- if the field cannot directly be accessed.Copyright © 2017 Oracle. All rights reserved.