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