add single static import on inaccessible element - retrieve accessible or do not suggest intention (IDEA-18050 )

This commit is contained in:
anna
2011-08-26 15:45:31 +02:00
parent e024e1b0f4
commit 15b1d535cd
4 changed files with 80 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
package impl;
import foo.Foo;
public class FooImpl extends Foo {}
class Bar {
void doSmth(FooImpl im) {
im.f<caret>oo();
}
}

View File

@@ -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();
}
}