docs: public static <P extends Enum<P>> Point optPoint(final JSONObject json, P e, boolean emptyForNull) {
          Point p = optPoint(json, e);
          if (p == null && emptyForNull) {
              p = new Point();
          }
          return p;
      }