mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
add single static import: ensure accessible class (from reference) is chosen (IDEA-144708)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import foo.*;
|
||||
class Class2 {
|
||||
public static void main(String[] args) {
|
||||
Bar.f<caret>oo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import foo.*;
|
||||
|
||||
import static foo.Bar.foo;
|
||||
|
||||
class Class2 {
|
||||
public static void main(String[] args) {
|
||||
f<caret>oo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user