@Override
      public boolean isAcceptable(Object element, PsiElement context) {
        if (element instanceof XmlTag tag) {
          final DomElement domElement = DomManager.getDomManager(tag.getProject()).getDomElement(tag);
          if (domElement != null) {
            return domElement.getGenericInfo().getNameDomElement(domElement) != null;
          }
        }
        return false;
      }
@Override
      public boolean isAcceptable(Object element, PsiElement context)