void () { getSettings().KEEP_SIMPLE_BLOCKS_IN_ONE_LINE = true; getSettings().BRACE_STYLE = CommonCodeStyleSettings.NEXT_LINE_IF_WRAPPED; doMethodTest( """ if ( 1 > 2) { } else { } try { } catch ( Exception e) { } finally { }""", """ if (1 > 2) { } else { } try { } catch (Exception e) { } finally { }""" ); }