@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof TextContentImpl that)) return false;
    return domain == that.domain && tokens.equals(that.tokens);
  }
@Override
  public boolean equals(Object o)