mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
reference to static method from interface: prefer static import context if provided (IDEA-130136)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import p.*;
|
||||
import static p.Foo.bar;
|
||||
import static p.Boo.*;
|
||||
|
||||
class FooImpl implements Foo, Boo {
|
||||
public void baz() {
|
||||
<error descr="Static method may be invoked on containing interface class only">foo();</error>
|
||||
bar();
|
||||
boo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user