void (LeafBlockWrapper block) { CommonCodeStyleSettings.IndentOptions options = myBlockIndentOptions.getIndentOptions(block); IndentData offset = block.calculateOffset(options); block.getWhiteSpace().setSpaces(offset.getSpaces(), offset.getIndentSpaces()); }