void () { if (!myIterator.hasNext()) { setDone(true); return; } final ExpandableIndent indent = myIterator.next(); Collection<AbstractBlockWrapper> blocksToExpandIndent = myExpandableIndents.get(indent); if (shouldExpand(blocksToExpandIndent)) { indent.enforceIndent(); for (AbstractBlockWrapper block : blocksToExpandIndent) { reindentNewLineChildren(block); } } restoreAlignments(myBlocksToRealign); myBlocksToRealign.clear(); }