void () { // Inspired by IDEA-59336 getSettings().METHOD_BRACE_STYLE = CommonCodeStyleSettings.NEXT_LINE; getSettings().KEEP_SIMPLE_METHODS_IN_ONE_LINE = true; doClassTest( """ @Override public int hashCode() { } @Deprecated void foo() { }""", """ @Override public int hashCode() { } @Deprecated void foo() { }""" ); }