void () { getSettings(JavaLanguage.INSTANCE).RIGHT_MARGIN = 50; getCustomJavaSettings().ANNOTATION_PARAMETER_WRAP = CommonCodeStyleSettings.WRAP_ON_EVERY_ITEM; String initial = """ class Test { @SuperAnnotation(first = "my first line", second = "my second line", third = "third line") public void run() { } }"""; getCustomJavaSettings().ALIGN_MULTILINE_ANNOTATION_PARAMETERS = true; doTextTest(initial, """ class Test { @SuperAnnotation(first = "my first line", second = "my second line", third = "third line") public void run() { } }"""); getCustomJavaSettings().ALIGN_MULTILINE_ANNOTATION_PARAMETERS = false; doTextTest(initial, """ class Test { @SuperAnnotation(first = "my first line", second = "my second line", third = "third line") public void run() { } }"""); }