private void logMergeResult(MergeResult mergeResult, MergeResultSource source) {
    MergeStatisticsCollector.MergeResult statsResult = switch (mergeResult) {
      case CANCEL -> MergeStatisticsCollector.MergeResult.CANCELED;
      case RESOLVED -> MergeStatisticsCollector.MergeResult.SUCCESS;
      case LEFT, RIGHT -> null;
    };
    if (statsResult == null) return;
    myAggregator.setUnresolved(getChanges().size());
    MergeStatisticsCollector.INSTANCE.logMergeFinished(myProject, statsResult, source, myAggregator);
  }
private void logMergeResult(MergeResult mergeResult, MergeResultSource source)