void () { getSettings().KEEP_SIMPLE_BLOCKS_IN_ONE_LINE = true; getSettings().BRACE_STYLE = CommonCodeStyleSettings.NEXT_LINE; String before = """ if (2 > 3) { System.out.println("AA!"); }"""; String after = """ if (2 > 3) { System.out.println("AA!"); }"""; doMethodTest(before, after); }