[java] add default static imports

GitOrigin-RevId: 746402d1272aa0a410abbbfb18bd8571f545029c
This commit is contained in:
Aleksey Dobrynin
2023-11-29 11:38:38 +01:00
committed by intellij-monorepo-bot
parent 696c7f7465
commit 131bfc4609
11 changed files with 108 additions and 16 deletions

View File

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

View File

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