void () { setLanguageLevel(LanguageLevel.JDK_21_PREVIEW); doTest('{'); } public void testStartStringTemplateAlreadyBrace() { setLanguageLevel(LanguageLevel.JDK_21_PREVIEW); doTest('{'); } public void testEndStringTemplate() { setLanguageLevel(LanguageLevel.JDK_21_PREVIEW); doTest('}'); } public void testEndStringTemplateTextBlock() { setLanguageLevel(LanguageLevel.JDK_21_PREVIEW); doTest('}'); }