boolean (@NotNull CharSequence charSequence) { final XmlAttributeValue nameElement = getNameElement(); return nameElement != null ? nameElement.textMatches(charSequence) : myElement.textMatches(charSequence); }