boolean (final XmlElement element, final PsiElementProcessor<? super PsiElement> processor, final boolean deepFlag) { final XmlPsiUtil.XmlElementProcessor p = new XmlPsiUtil.XmlElementProcessor(element.getContainingFile(), processor); for (PsiElement child = element.getFirstChild(); child != null; child = child.getNextSibling()) { if (!p.processElement(child, deepFlag, false, true)) return false; } return true; }