boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; final XmlAttributeInjection that = (XmlAttributeInjection)o; if (!myAttributeNameMatcher.getPattern().equals(that.myAttributeNameMatcher.getPattern())) return false; if (!myAttributeNamespace.equals(that.myAttributeNamespace)) return false; return true; }