docs: public static <T> T withObjectInputStream(Path path, @ClosureParams(value = SimpleType.class, options = "java.io.ObjectInputStream") Closure<T> closure) throws IOException {
          return IOGroovyMethods.withStream(newObjectInputStream(path), closure);
      }