boolean (@NotNull PsiElement element) { if (element instanceof XmlTag) { if (isCertainTypeElement((XmlTag)element, info.getTagName(), prefixByURI) || isElementWithEmbeddedType((XmlTag)element, info.getTagName(), prefixByURI)) { consumer.process(element); return false; } } return true; }