ASTNode (final List<Block> list, final ASTNode textNode, ASTNode child, final Wrap wrap, final Alignment alignment) { while (child != null) { if (!AbstractXmlBlock.containsWhiteSpacesOnly(child) && child.getTextLength() > 0) { final Indent indent = getChildrenIndent(); child = processChild(list, child, wrap, alignment, indent); if (child == null) return null; if (child.getTreeParent() != textNode) { if (child.getTreeParent() != myNode) { return createXmlTextBlocks(list, child.getTreeParent(), child.getTreeNext(), wrap, alignment); } else { return child; } } } child = child.getTreeNext(); } return textNode; }