void (Block rootBlock) { if (myCollectAlignmentsInsideFormattingRange && rootBlock.getAlignment() != null && isAffectedByFormatting(rootBlock) && !isDisabled(rootBlock.getTextRange())) { myAlignmentsInsideRangeToModify.add(rootBlock.getAlignment()); } if (rootBlock.getAlignment() != null) { myBlocksToAlign.putValue(rootBlock.getAlignment(), rootBlock); } }