@Override
  public @Nullable ZipResource getResource(String name) {
    ImmutableZipEntry entry = getRawEntry(name);
    if (entry == null) {
      return null;
    }

    return new ZipResource() {
      @Override
      public @NotNull String getPath() {
        return entry.name;
      }

      @Override
      public int getUncompressedSize() {
        return entry.uncompressedSize;
      }

      @Override
      public @NotNull ByteBuffer getByteBuffer() throws IOException {
        return entry.getByteBuffer(HashMapZipFile.this);
      }

      @Override
      public byte @NotNull [] getData() throws IOException {
        return entry.getData(HashMapZipFile.this);
      }

      @Override
      public @NotNull InputStream getInputStream() throws IOException {
        return entry.getInputStream(HashMapZipFile.this);
      }
    };
  }
@Override
  public @Nullable ZipResource getResource(String name)