Files
2023-10-26 10:47:21 +00:00

12 lines
185 B
Java

import static I.FOO;
// "Replace implements with static import" "true-preview"
public class X {
void foo() {
System.out.println(FOO);
}
}
interface I {
String FOO = "foo";
}