void () { getSettings().ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true; doMethodTest( """ foo(new Runnable() { @Override public void run() { } }, new Runnable() { @Override public void run() { } });""", """ foo(new Runnable() { @Override public void run() { } }, new Runnable() { @Override public void run() { } });""" ); doMethodTest( """ foo(123456789, new Runnable() { @Override public void run() { } }, new Runnable() { @Override public void run() { } });""", """ foo(123456789, new Runnable() { @Override public void run() { } }, new Runnable() { @Override public void run() { } });""" ); doMethodTest( """ foo(new Runnable() { @Override public void run() { }}, 1, 2);""", """ foo(new Runnable() { @Override public void run() { } }, 1, 2);""" ); }