mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
allow on demand static import over non resolved method (IDEA-68936)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// "Add on demand static import for 'test.Bar'" "true"
|
||||
package test;
|
||||
|
||||
import static test.Bar.*;
|
||||
|
||||
class Bar {
|
||||
public static final void f(String s) {}
|
||||
public static final void f(int i) {}
|
||||
}
|
||||
public class Foo {
|
||||
{
|
||||
<caret>f();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// "Add on demand static import for 'test.Bar'" "true"
|
||||
package test;
|
||||
|
||||
class Bar {
|
||||
public static final void f(String s) {}
|
||||
public static final void f(int i) {}
|
||||
}
|
||||
public class Foo {
|
||||
{
|
||||
<caret>Bar.f();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user