docs: @Override
    public Number getValue(int pollerIdx) {
      try {
        field.setAccessible(true);
        if (field instanceof Field) {
          return (Number) ((Field) field).get(object);
        } else {
          return (Number) ((Method) field).invoke(object);
        }
      } catch (Exception e) {
        throw Throwables.propagate(e);
      }
    }