[java, fix] add missing STR processor IDEA-333509

GitOrigin-RevId: 10a42247d542ea3a67a1a9692c133adc0e25fc7c
This commit is contained in:
Aleksey Dobrynin
2023-10-30 16:14:13 +01:00
committed by intellij-monorepo-bot
parent aa70e4b6f4
commit a9510604c5
8 changed files with 83 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
// "Add 'STR.' Processor" "true-preview"
class a {
void f() {
String name = "world";
String str = STR."""
hello \{name}
""" + "!";
}
}

View File

@@ -0,0 +1,7 @@
// "Add 'STR.' Processor" "true-preview"
class a {
void f() {
String name = "world";
String str = STR."hello \{name}";
}
}

View File

@@ -0,0 +1,9 @@
// "Add 'STR.' Processor" "true-preview"
class a {
void f() {
String name = "world";
String str = """
<caret>hello \{name}
""" + "!";
}
}

View File

@@ -0,0 +1,7 @@
// "Add 'STR.' Processor" "true-preview"
class a {
void f() {
String name = "world";
String str = "<caret>hello \{name}";
}
}