public static void doGet(@NotNull Project project,
                           @NotNull @NlsContexts.Label String activityName,
                           @NotNull List<? extends FileRevisionProvider> providers,
                           @Nullable Runnable onFinished) {
    List<VirtualFile> files = ContainerUtil.mapNotNull(providers, it -> it.getFilePath().getVirtualFile());
    if (!files.isEmpty()) {
      ReplaceFileConfirmationDialog confirmationDialog =
        new ReplaceFileConfirmationDialog(project, VcsBundle.message("acton.name.get.revision"));
      if (!confirmationDialog.confirmFor(VfsUtilCore.toVirtualFileArray(files))) {
        return;
      }

      if (ReadonlyStatusHandler.getInstance(project).ensureFilesWritable(files).hasReadonlyFiles()) {
        return;
      }
    }

    new MyWriteVersionTask(project, activityName, providers, onFinished).queue();
  }
public static void doGet(@NotNull Project project,
                           @NotNull @NlsContexts.Label String activityName,
                           @NotNull List<? extends FileRevisionProvider> providers,
                           @Nullable Runnable onFinished)