code: public static void setProperty(final Object bean, final String name, final Object value) throws NoSuchFieldException, IllegalAccessException {
          Field field = bean.getClass().getDeclaredField(name);
          field.setAccessible(true);
          field.set(bean, value);
      }
docs: 设置属性
  @param bean
  @param name
  @param value
  @throws NoSuchFieldException
  @throws IllegalAccessException