TextDiffType (@NotNull MergeConflictType conflictType) { return switch (conflictType.getType()) { case INSERTED -> TextDiffType.INSERTED; case DELETED -> TextDiffType.DELETED; case MODIFIED -> TextDiffType.MODIFIED; case CONFLICT -> TextDiffType.CONFLICT; }; }