void () { IdeaTestUtil.withLevel(getModule(), LanguageLevel.JDK_21_PREVIEW, () -> { myFixture.configureByText("MainTest.java", """ static void main<caret>() {} static void main(String[] args) {} """); List<GutterMark> marks = myFixture.findAllGutters(); assertEquals(1, marks.size()); assertEmpty(myFixture.findGuttersAtCaret()); }); }