public boolean equals(Object object) {
    return object instanceof TextWithImportsImpl item && Objects.equals(item.myText, myText) && Objects.equals(item.myImports, myImports);
  }
public boolean equals(Object object)