public boolean equals(final Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    final XmlName xmlName = (XmlName)o;

    if (!myLocalName.equals(xmlName.myLocalName)) return false;
    return Objects.equals(myNamespaceKey, xmlName.myNamespaceKey);
  }
public boolean equals(final Object o)