private static Set<VirtualFile> getPathsAsVirtualFiles(VirtualFilePointerContainer paths) {
    Set<VirtualFile> ret = new HashSet<>();
    Collections.addAll(ret, paths.getFiles());
    return ret;
  }
private static Set<VirtualFile> getPathsAsVirtualFiles(VirtualFilePointerContainer paths)