@NotNull
  public static VirtualFile resolveSymlinkIfNeeded(@NotNull Project project, @NotNull VirtualFile file) {
    VirtualFile symlink = resolveSymlink(project, file);
    return symlink != null ? symlink : file;
  }
@NotNull
  public static VirtualFile resolveSymlinkIfNeeded(@NotNull Project project, @NotNull VirtualFile file)