Files
Tagir Valeev 33ca32a1bc [java-intentions] ReplaceImplementsWithStaticImportAction: ModCommand
GitOrigin-RevId: 53f1e33ee88b8336a3cd20d55bd640cfbc88c580
2023-10-26 10:47:21 +00:00

27 lines
463 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);
}
}
/**
* {@link I#FOO}
*/
class II1 implements In {
public static void main(String[] args) {
System.out.println(II1.FOO);
}
}
class Uc {
static final String FOO = "";
void g() {
System.out.println("" + II.FOO);
}
}