mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
12 lines
185 B
Java
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";
|
|
} |