Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/replaceImplementsWithStaticImport/after1.java
Tagir Valeev 33ca32a1bc [java-intentions] ReplaceImplementsWithStaticImportAction: ModCommand
GitOrigin-RevId: 53f1e33ee88b8336a3cd20d55bd640cfbc88c580
2023-10-26 10:47:21 +00:00

12 lines
185 B
Java

import static I.FOO;
// "Replace implements with static import" "true-preview"
public class X {
void foo() {
System.out.println(FOO);
}
}
interface I {
String FOO = "foo";
}