protected @Nullable XmlTag getTagElement() {
    final PsiElement element = getElement();
    if(element == myNameElement.getPsi()) return null;
    return (XmlTag)element;
  }
protected @Nullable XmlTag getTagElement()