public static void setField(Object object, String fieldName, Object value, Class<?> objectClass)
            throws SecurityException, IllegalArgumentException, IllegalAccessException, NoSuchFieldException {
        Field objectField = objectClass.getDeclaredField(fieldName);
        objectField.setAccessible(true);
        objectField.set(object, value);
    }
This method use java reflect API to set field value dynamically. Most
importantly, it could access fields with private modifier to break
encapsulation.

@param object      The object to access.
@param fieldName   The field name to access.
@param value       Assign this value to field.
@param objectClass The class of object.
core/src/main/java/com/quxianggif/core/util/Reflection.java