@NotNull
  private MergeConflictType getConflictType(@NotNull ComparisonPolicy comparisonPolicy,
                                            @NotNull List<? extends CharSequence> sequences,
                                            @NotNull List<? extends LineOffsets> lineOffsets,
                                            @NotNull MergeLineFragment fragment) {
    return switch (myColorsMode) {
      case MERGE_CONFLICT -> MergeRangeUtil.getLineThreeWayDiffType(fragment, sequences, lineOffsets, comparisonPolicy);
      case MERGE_RESULT -> {
        MergeConflictType conflictType = MergeRangeUtil.getLineThreeWayDiffType(fragment, sequences, lineOffsets, comparisonPolicy);
        yield invertConflictType(conflictType);
      }
      case LEFT_TO_RIGHT -> MergeRangeUtil.getLineLeftToRightThreeSideDiffType(fragment, sequences, lineOffsets, comparisonPolicy);
    };
  }
@NotNull
  private MergeConflictType getConflictType(@NotNull ComparisonPolicy comparisonPolicy,
                                            @NotNull List<? extends CharSequence> sequences,
                                            @NotNull List<? extends LineOffsets> lineOffsets,
                                            @NotNull MergeLineFragment fragment)