void () { String text = """ public class Hello { // @replace substring="xxx" replacement='xyz' System.out.println("xxx"); } """; testParsing(text, """ PlainText[range=(0,21), content=public class Hello { ] Replace[range=(28,70), selector=Substring[substring=xxx], region=null, replacement=xyz] PlainText[range=(71,71), content=] PlainText[range=(71,100), content= System.out.println("xxx"); ] PlainText[range=(100,102), content=} ] PlainText[range=(102,102), content=]"""); }