void () { doTest(""" class StringTemplateMigration { void test() { String test = "fun() = " + <caret>get("foo") + "\\n" + "fun() = " + this.get("bar"); } StringTemplateMigration get(String data) { return this; } }""", """ class StringTemplateMigration { void test() { String test = STR.""\" fun() = \\{get("foo")} fun() = \\{this.get("bar")}""\"; } StringTemplateMigration get(String data) { return this; } }"""); }