docs: public static JavaModule of(Object module) {
          if (!JavaType.MODULE.isInstance(module)) {
              throw new IllegalArgumentException("Not a Java module: " + module);
          }
          return new JavaModule(module);
      }