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