class StringTemplate1 { public void foo(String type) { String s = STR.""" Type: \{type} of something """; } }