TextDiffType (@NotNull InnerChangeType changeType) { return switch (changeType) { case DELETED -> TextDiffType.DELETED; case INSERTED -> TextDiffType.INSERTED; case MODIFIED -> TextDiffType.MODIFIED; }; }