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