mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 16:02:32 +07:00
GitOrigin-RevId: 790d24c10069542bfed988ccf2eebc872ac666ff
13 lines
314 B
Java
13 lines
314 B
Java
class StringTemplate1 {
|
|
public void foo(String name, String phone, String address) {
|
|
// only one highlight, although multiple fragments with trailing whitespace
|
|
String s = STR."""
|
|
{
|
|
"name": "\{name}",
|
|
"phone": "\{phone}",
|
|
|
|
"address": "\{address}"
|
|
}
|
|
""";
|
|
}
|
|
} |