mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
19 lines
293 B
Java
19 lines
293 B
Java
import static I1.BAZZ;
|
|
import static II.FOO;
|
|
|
|
// "Replace implements with static import" "true-preview"
|
|
public class X {
|
|
void bar() {
|
|
System.out.println(FOO);
|
|
System.out.println(BAZZ);
|
|
}
|
|
}
|
|
|
|
interface II extends I1{
|
|
String FOO = "foo";
|
|
}
|
|
|
|
interface I1 {
|
|
String BAZZ = "bazz";
|
|
}
|