void () { getSettings().ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true; String text = """ test(1000, new Runnable() { @Override public void run() { System.out.println("BBB"); } } );"""; doMethodTest(text, text); }