@Override
  public void finishCommand(@NotNull CommandToken command, @Nullable Throwable throwable) {
    ApplicationManager.getApplication().assertWriteIntentLockAcquired();
    CommandLog.LOG.assertTrue(myCurrentCommand != null, "no current command in progress");
    fireCommandFinished();
  }
@Override
  public void finishCommand(@NotNull CommandToken command, @Nullable Throwable throwable)