boolean (final Object o) { if (this == o) return true; if (!(o instanceof XmlElementDescriptorByType that)) return false; if (myType != null ? !myType.equals(that.myType) : that.myType != null) return false; return true; }