@Nullable
  public static VirtualFile resolveSymlink(@NotNull Project project, @Nullable VirtualFile file) {
    if (file == null) return null;
    for (VcsSymlinkResolver resolver : VcsSymlinkResolver.EP_NAME.getExtensionList(project)) {
      if (resolver.isEnabled()) {
        VirtualFile symlink = resolver.resolveSymlink(file);
        if (symlink != null) return symlink;
      }
    }
    return null;
  }
@Nullable
  public static VirtualFile resolveSymlink(@NotNull Project project, @Nullable VirtualFile file)