mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 53f1e33ee88b8336a3cd20d55bd640cfbc88c580
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);
|
|
}
|
|
}
|