code: public V getValue(T object) {
          try {
              if (this.getMethod != null) {
                  return (V)this.getMethod.invoke(object);
              } else {
                  return (V)this.field.get(object);
              }
          } catch (IllegalAccessException e) {
              throw new RuntimeException(e);
          } catch (InvocationTargetException e) {
              throw new RuntimeException(e);
          }
      }
docs: Return the value of the object
  
  @param object
  @return