Java Reflection Obtener valor de campo

Field field = object.getClass().getDeclaredField(fieldName);    
field.setAccessible(true);
Object value = field.get(object);
Delta Sierra