void () { // Inspired by IDEA-55147 getSettings().ALIGN_GROUP_FIELD_DECLARATIONS = true; getSettings().FIELD_ANNOTATION_WRAP = CommonCodeStyleSettings.DO_NOT_WRAP; getSettings().VARIABLE_ANNOTATION_WRAP = CommonCodeStyleSettings.DO_NOT_WRAP; doTextTest( """ public class FormattingTest { int start = 1; double end = 2; int i2 = 1; double dd2, dd3 = 2; // asd char ccc3 = 'a'; double ddd31, ddd32 = 1; private final String s4 = ""; private transient int i4 = 1; private final String s5 = "xxx"; private transient int iiii5 = 1; /*sdf*/ @MyAnnotation(value = 1, text = 2) float f5 = 1; }""", """ public class FormattingTest { int start = 1; double end = 2; int i2 = 1; double dd2, dd3 = 2; // asd char ccc3 = 'a'; double ddd31, ddd32 = 1; private final String s4 = ""; private transient int i4 = 1; private final String s5 = "xxx"; private transient int iiii5 = 1; /*sdf*/ @MyAnnotation(value = 1, text = 2) float f5 = 1; }""" ); }