public boolean equals(Object obj) {
      if (!(obj instanceof TextSection section)) return false;
      return section.ATTRIBUTES.equals(ATTRIBUTES) && section.TEXT.equals(TEXT);
    }
public boolean equals(Object obj)