void () { // Inspired by IDEA-74751 getSettings().SPACE_WITHIN_METHOD_CALL_PARENTHESES = false; getSettings().SPACE_WITHIN_EMPTY_METHOD_CALL_PARENTHESES = false; getSettings().SPACE_WITHIN_METHOD_PARENTHESES = true; getSettings().SPACE_WITHIN_EMPTY_METHOD_PARENTHESES = true; doClassTest( """ void test() { foo(); }""", """ void test( ) { foo(); }""" ); getSettings().SPACE_WITHIN_METHOD_CALL_PARENTHESES = true; getSettings().SPACE_WITHIN_EMPTY_METHOD_CALL_PARENTHESES = true; getSettings().SPACE_WITHIN_METHOD_PARENTHESES = false; getSettings().SPACE_WITHIN_EMPTY_METHOD_PARENTHESES = false; doClassTest( """ void test() { foo(); }""", """ void test() { foo( ); }""" ); }