public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof ReplaceOptions replaceOptions)) return false;

    if (myToReformatAccordingToStyle != replaceOptions.myToReformatAccordingToStyle) return false;
    if (toShortenFQN != replaceOptions.toShortenFQN) return false;
    if (myToUseStaticImport != replaceOptions.myToUseStaticImport) return false;
    if (!matchOptions.equals(replaceOptions.matchOptions)) return false;
    if (!Objects.equals(replacement, replaceOptions.replacement)) return false;
    if (!variableDefs.equals(replaceOptions.variableDefs)) return false;

    return true;
  }
public boolean equals(Object o)