void () { IdeaTestUtil.withLevel(myFixture.getModule(), LanguageLevel.JDK_21, () -> { myFixture.configureByFile(getTestName(false) + ".java"); myFixture.completeBasic(); assertPreferredItems(0, "case A", "case", "case B", "casecase", "case null", "case null, default"); }); }