mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
18 lines
282 B
Java
18 lines
282 B
Java
import static I.FOO;
|
|
import static I1.BAZZ;
|
|
|
|
// "Replace Implements with Static Import" "true"
|
|
public class X {
|
|
void bar() {
|
|
System.out.println(FOO);
|
|
System.out.println(BAZZ);
|
|
}
|
|
}
|
|
|
|
interface I extends I1{
|
|
String FOO = "foo";
|
|
}
|
|
|
|
interface I1 {
|
|
String BAZZ = "bazz";
|
|
} |