void () { getSettings().ALIGN_CONSECUTIVE_ASSIGNMENTS = true; getSettings().ALIGN_MULTILINE_ASSIGNMENT = true; getSettings().ALIGN_CONSECUTIVE_VARIABLE_DECLARATIONS = true; doTextTest( """ public class Test { void foo(int a, int xyz, int bc) { bc = 9999; a = 9999; int basdf = 1234; int as = 3; xyz = a =\s a = 12; } }""", """ public class Test { void foo(int a, int xyz, int bc) { bc = 9999; a = 9999; int basdf = 1234; int as = 3; xyz = a = a = 12; } }""" ); }