protected void execute(final UsageInfo @NotNull [] usages) {
    long executeStart = System.currentTimeMillis();
    CommandProcessor.getInstance().executeCommand(myProject, () -> {
      Collection<UsageInfo> usageInfos = new LinkedHashSet<>(Arrays.asList(usages));
      doRefactoring(usageInfos);
      if (isGlobalUndoAction()) CommandProcessor.getInstance().markCurrentCommandAsGlobal(myProject);
      SuggestedRefactoringProvider.getInstance(myProject).reset();
    }, getCommandName(), null, getUndoConfirmationPolicy());
    long executeDuration = System.currentTimeMillis() - executeStart;
    RefactoringUsageCollector.EXECUTED.log(this.getClass(), executeDuration);
  }
protected void execute(final UsageInfo @NotNull [] usages)