Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/interfaceMethods/StaticMethodAccessibleBothThroughStaticImportAndInheritance.java
Tagir Valeev 059a080ab3 [java-highlighting] Fix testdata, tooltips
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: ed0cf0daf5dbfb034882d49ad5e9c03f264b451e
2025-01-22 10:33:39 +00:00

11 lines
257 B
Java

import p.*;
import static p.Foo.bar;
import static p.Boo.*;
class FooImpl implements Foo, Boo {
public void baz() {
<error descr="Static method may only be called on its containing interface">foo</error>();
bar();
boo();
}
}