@Override
    public void onSuccess() {
      if (!preparations.isEmpty()) {
        if (!FileModificationService.getInstance().preparePsiElementsForWrite(preparations.keySet())) return;
        final SequentialModalProgressTask
          progressTask = new SequentialModalProgressTask(myProject, UpdateCopyrightProcessor.TITLE.get(), true);
        progressTask.setMinIterationTime(200);
        progressTask.setTask(new UpdateCopyrightSequentialTask(preparations, progressTask));
        CommandProcessor.getInstance().executeCommand(myProject, () -> {
          CommandProcessor.getInstance().markCurrentCommandAsGlobal(myProject);
          ProgressManager.getInstance().run(progressTask);
        }, UpdateCopyrightProcessor.TITLE.get(), null);
      }
    }
@Override
    public void onSuccess()