import static I1.BAZZ; | |
import static II.FOO; | |
// "Replace Implements with Static Import" "true" | |
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"; | |
} |