void () { // Inspired by IDEA-63820 getSettings().ALIGN_THROWS_KEYWORD = true; doClassTest( "public void test()\n" + " throws Exception {}", """ public void test() throws Exception { }""" ); getSettings().ALIGN_THROWS_KEYWORD = false; doClassTest( "public void test()\n" + " throws Exception {}", """ public void test() throws Exception { }""" ); }