void (final @NotNull AbstractBlockWrapper block) { if (block instanceof LeafBlockWrapper) { WhiteSpace space = block.getWhiteSpace(); if (space.containsLineFeeds()) { myCurrentBlock = (LeafBlockWrapper)block; myIndentAdjuster.adjustIndent(myCurrentBlock); //since aligned block starts new line, it should not touch any other block storeAlignmentsAfterCurrentBlock(); } } else if (block instanceof CompositeBlockWrapper) { List<AbstractBlockWrapper> children = ((CompositeBlockWrapper)block).getChildren(); for (AbstractBlockWrapper childBlock : children) { reindentNewLineChildren(childBlock); } } }