private static int extractFileId(@NotNull VirtualFile vFile) {
    if (!(vFile instanceof VirtualFileWithId fileWithId)) {
      throw new IllegalArgumentException(vFile + " must be VirtualFileWithId");
    }

    return fileWithId.getId();
  }
private static int extractFileId(@NotNull VirtualFile vFile)