Пример #1
0
 public void serialize(Modality modality) {
   sb.append(modality.name().toLowerCase());
 }
Пример #2
0
 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(" ");
 }