void () { IdeaTestUtil.withLevel(getModule(), LanguageLevel.JDK_21_PREVIEW, () -> { myFixture.configureByText("MainTest.java", """ void foo() { } public class A { public void main<caret>() {} } """); List<GutterMark> marks = myFixture.findGuttersAtCaret(); assertEquals(0, marks.size()); }); }