code: @SuppressWarnings("unchecked")
    public static <R> R getStaticField(Field field) {
      try {
        makeFieldVeryAccessible(field);
        return (R) field.get(null);
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
docs: Reflectively get the value of a static field.
  
  @param field Field object.
  @param <R> The return type.
  @return Value of the field.