mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 53f1e33ee88b8336a3cd20d55bd640cfbc88c580
20 lines
332 B
Java
20 lines
332 B
Java
import static In.FOO;
|
|
|
|
// "Replace implements with static import" "true-preview"
|
|
interface In {
|
|
int FOO = 0;
|
|
}
|
|
|
|
class II {
|
|
public static void main(String[] args) {
|
|
System.out.println(FOO);
|
|
}
|
|
}
|
|
|
|
class II1 {
|
|
int FOO = 9;
|
|
public static void main(String[] args) {
|
|
System.out.println(In.FOO);
|
|
}
|
|
}
|