Exemplo n.º 1
0
 public void serialize(Modality modality) {
   sb.append(modality.name().toLowerCase());
 }
Exemplo n.º 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(" ");
 }