public void serialize(Modality modality) { sb.append(modality.name().toLowerCase()); }
private void renderModality(@NotNull Modality modality, @NotNull StringBuilder builder) { if (!modifiers.contains(Modifier.MODALITY)) return; String keyword = modality.name().toLowerCase(); builder.append(renderKeyword(keyword)).append(" "); }