@Override
    public boolean component(final @NotNull Emitable componentClaim) {
      if (this.componentClaim != null) return false;

      this.componentClaim = requireNonNull(componentClaim, "componentClaim");
      return true;
    }
mark tag boundaries within the stack, without needing to mess with typing too much.
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/MiniMessageSerializer.java