code: public Object getValue(Object object) throws IllegalAccessException, InvocationTargetException {
          Object result = null;
          if (getter != null) {
              result = getter.invoke(object);
          } else if (field != null) {
              if(!field.isAccessible()){
                  field.setAccessible(true);
              }
              result = field.get(object);
          }
          return result;
      }
docs: 反射获取值
  
  @param object
  @return
  @throws IllegalAccessException
  @throws InvocationTargetException