static void emit(final @NotNull String longName, final @NotNull String shortName, final TextDecoration.@NotNull State state, final @NotNull TokenEmitter emitter) {
    if (state == State.FALSE) {
      emitter.tag(REVERT + longName);
    } else {
      emitter.tag(longName);
    }
  }
A transformation that applies any {@link TextDecoration}.

@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/DecorationTag.java