@Override
  protected boolean performRefactoring() {
    boolean bind = false;
    if (myInsertedName != null) {
      final CommandProcessor commandProcessor = CommandProcessor.getInstance();
      if (commandProcessor.getCurrentCommand() != null && getVariable() != null) {
        commandProcessor.setCurrentCommandName(getCommandName());
      }

      bind = true;
      ReadAction.nonBlocking(() -> findProblem())
        .expireWhen(() -> myEditor.isDisposed() || myProject.isDisposed())
        .finishOnUiThread(ModalityState.nonModal(), problem -> {
          if (problem == null) {
            if (mySnapshot != null) {
              ApplicationManager.getApplication().runWriteAction(() -> mySnapshot.apply(myInsertedName));
            }
            performRefactoringRename(myInsertedName, myMarkAction);
          }
          else {
            problem.showUI();
            cancel();
          }
        })
        .submit(AppExecutorUtil.getAppExecutorService());
    }
    return bind;
  }
@Override
  protected boolean performRefactoring()