mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 19:21:16 +07:00
29 lines
439 B
Java
29 lines
439 B
Java
import static In.FOO;
|
|
|
|
// "Replace Implements with Static Import" "true"
|
|
interface In {
|
|
int FOO = 0;
|
|
}
|
|
|
|
class II {
|
|
public static void main(String[] args) {
|
|
System.out.println(FOO);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* {@link I#FOO}
|
|
*/
|
|
class II1 {
|
|
public static void main(String[] args) {
|
|
System.out.println(FOO);
|
|
}
|
|
}
|
|
|
|
class Uc {
|
|
static final String FOO = "";
|
|
void g() {
|
|
System.out.println("" + In.FOO);
|
|
}
|
|
}
|