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

    return myIcon == attributes.myIcon &&
           !(myTextAttributes != null ? !myTextAttributes.equals(attributes.myTextAttributes) : attributes.myTextAttributes != null) &&
           myShouldUseCustomColors == attributes.myShouldUseCustomColors;
  }
public boolean equals(Object o)