mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
13 lines
407 B
Java
13 lines
407 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}",<warning descr="Trailing whitespace characters inside text block"><caret> </warning>
|
|
|
|
"address": "\{address}"
|
|
}
|
|
""";
|
|
}
|
|
} |