void () { doTextTest("java", """ /** */<caret> class Foo{}""", """ /** */ <caret> class Foo{}"""); doTextTest("java", """ class Foo { /** */<caret> void foo() {} }""", """ class Foo { /** */ <caret> void foo() {} }"""); doTextTest("java", """ class Foo { /** */<caret> abstract void foo(); }""", """ class Foo { /** */ <caret> abstract void foo(); }"""); doTextTest("java", """ class Foo { /** */<caret> int myFoo; }""", """ class Foo { /** */ <caret> int myFoo; }"""); }