docs: public Optional<URL> getResource(String path) {
          boolean isDirectory = isDirectory(path);
  
          if (!isDirectory) {
              URL url = classLoader.getResource(prefixPath(path));
              return Optional.ofNullable(url);
          }
          return Optional.empty();
      }