@Override
  public boolean continueMatching(final PsiElement start) {
    // XmlElements can also appear under languages which are not a kind of XMLLanguage e.g. TypeScript JSX
    // assume here that when the user specifies to search for generic XML, these elements should also be found
    if (myLanguage != XMLLanguage.INSTANCE && !start.getLanguage().isKindOf(myLanguage)) {
      return false;
    }
    return start instanceof XmlElement;
  }
@Override
  public boolean continueMatching(final PsiElement start)