static @NotNull PackageDirectoryCache createCache(@NotNull List<? extends VirtualFile> roots) {
    return new PackageDirectoryCacheImpl((packageName, result) -> {
      if (packageName.isEmpty()) {
        PackageDirectoryCacheImpl.addValidDirectories(roots, result);
      }
    }, (dir, name) -> true);
  }
static @NotNull PackageDirectoryCache createCache(@NotNull List<? extends VirtualFile> roots)