public static boolean setFieldValue(Object target, String fieldName, Object value) {
        final Optional<Field> fieldOption = getField(target, fieldName);
        if (!fieldOption.isPresent()) {
            return false;
        }
        final Field field = fieldOption.get();
        if (isFinalField(field)) {
            updateFinalModifierField(field);
        }
        try {
            field.set(target, value);
            return true;
        } catch (IllegalAccessException ex) {
            LOGGER.warning(String.format(Locale.ENGLISH, "Set value for field [%s] failed! %s", fieldName,
                    ex.getMessage()));
            return false;
        }
    }
@Test
    public void setFieldValue() throws NoSuchFieldException, IllegalAccessException {
        final TestReflect reflect = new TestReflect();
        int x = 102, y = 1899;
        ReflectUtils.setFieldValue(reflect, "x", x);
        ReflectUtils.setFieldValue(reflect, "y", y);
        Assert.assertEquals(reflect.x + reflect.y, x + y);
    }