@Nullable
  private static XmlToken getTagNameToken(XmlTag tag) {
    PsiElement child = tag.getFirstChild();
    while (child != null) {
      if (child instanceof XmlToken token) {
        IElementType tokenType = token.getTokenType();
        if (tokenType == XmlTokenType.XML_NAME || tokenType == XmlTokenType.XML_TAG_NAME) {
          // regular xml parser uses XML_NAME, but xml nested in js (JSX) uses XML_TAG_NAME
          return token;
        }
      }
      child = child.getNextSibling();
    }

    return null;
  }
@Nullable
  private static XmlToken getTagNameToken(XmlTag tag)