void () { doTest(""" class StringTemplateMigration { void test() { String str = "_"; System.out.println(str + str + <caret>str); } }""", """ class StringTemplateMigration { void test() { String str = "_"; System.out.println(STR."\\{str}\\{str}\\{str}"); } }"""); }