boolean (@NotNull PsiElement element) { if (element instanceof XmlToken) { if (((XmlToken)element).getTokenType() == XmlTokenType.XML_TAG_END) { child[0] = element.getNextSibling(); return false; } } return true; }