QQ: I have an object declaration implementing an i...
# announcements
d
QQ: I have an object declaration implementing an interface which requires that
equals()
and
hashCode()
be implemented, but I’m getting a warning about
equals()/hashCode() in object declaration
. What is the reason for this warning? Does an object declaration implement an identity equals automatically (and hashcode)? The bubble reports something unrelated (only one of equals/hashCode implemented, but not the other) so that isn’t of much help. (Also, I couldn’t find the name of the inspection to suppress it w/ the plugin in internal mode so perhaps it’s being triggered outside the plugin?)