@Override
  public @NotNull PsiElement getElement() {
    PsiElement element = myNameElement.getPsi();
    final PsiElement parent = element.getParent();
    return parent instanceof XmlTag ? parent : element;
  }
@Override
  public @NotNull PsiElement getElement()