mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +07:00
18 lines
344 B
Java
18 lines
344 B
Java
// "Replace implements with static import" "true-preview"
|
|
interface I<caret>n {
|
|
int FOO = 0;
|
|
}
|
|
|
|
class II implements In {
|
|
public static void main(String[] args) {
|
|
System.out.println(FOO);
|
|
}
|
|
}
|
|
|
|
class II1 implements In {
|
|
int FOO = 9;
|
|
public static void main(String[] args) {
|
|
System.out.println(In.FOO);
|
|
}
|
|
}
|