void (StringBuilder result, TextElementType elementType, String text) { if (elementType == TextElementType.DEFAULT) { result.append(text); } else if (elementType == TextElementType.ERROR) { result.append(RenderersUtilKt.renderError(text)); } else if (elementType == TextElementType.STRONG) { result.append(RenderersUtilKt.renderStrong(text)); } }