mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
add single static import on inaccessible element - retrieve accessible or do not suggest intention (IDEA-18050 )
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package impl;
|
||||
import foo.Foo;
|
||||
public class FooImpl extends Foo {}
|
||||
class Bar {
|
||||
void doSmth(FooImpl im) {
|
||||
im.f<caret>oo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package impl;
|
||||
import foo.Foo;
|
||||
|
||||
import static impl.FooImpl.foo;
|
||||
|
||||
public class FooImpl extends Foo {}
|
||||
class Bar {
|
||||
void doSmth(FooImpl im) {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user