boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final DomElementProblemDescriptorImpl that = (DomElementProblemDescriptorImpl)o; if (!Objects.equals(myDomElement, that.myDomElement)) return false; if (!myMessage.equals(that.myMessage)) return false; return mySeverity.equals(that.mySeverity); }