@Override
  public boolean equals(final @Nullable Object other) {
    if (this == other) return true;
    if (!(other instanceof AbstractComponent)) return false;
    final AbstractComponent that = (AbstractComponent) other;
    return Objects.equals(this.children, that.children)
      && Objects.equals(this.style, that.style);
  }
An abstract implementation of a text component.

@since 4.0.0
@deprecated for removal since 4.10.0
api/src/main/java/net/kyori/adventure/text/AbstractComponent.java