void () { // Inspired by IDEA-54668 getSettings().BLANK_LINES_AROUND_METHOD_IN_INTERFACE = 0; getSettings().BLANK_LINES_AROUND_METHOD = 1; doTextTest( """ abstract class Test { void test1() { } abstract void test2(); void test3() { } void test4() { } abstract void test5(); abstract void test6(); }""", """ abstract class Test { void test1() { } abstract void test2(); void test3() { } void test4() { } abstract void test5(); abstract void test6(); }""" ); }