public boolean equals(Object o) {
    if (this == o) return true;
    return o instanceof SuperTypeGroup superTypeGroup &&
           myOverrides == superTypeGroup.myOverrides &&
           Objects.equals(getSuperClass(), superTypeGroup.getSuperClass());
  }
public boolean equals(Object o)