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