protected static InitialInfoBuilder prepareToBuildBlocksSequentially( Block root, FormattingDocumentModel model, FormatProcessor.FormatOptions formatOptions, CodeStyleSettings settings, CommonCodeStyleSettings.IndentOptions options, @NotNull FormattingProgressCallback progressCallback) { InitialInfoBuilder builder = new InitialInfoBuilder( root, model, formatOptions.myAffectedRanges, settings, options, formatOptions.myInterestingOffset, progressCallback); builder.setCollectAlignmentsInsideFormattingRange(formatOptions.myReformatContext); builder.buildFrom(root, 0, null, null, null, true); return builder; }