mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
disable on-demand static import for non-static members (IDEA-191774)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Add on demand static import for 'test.Foo'" "true"
|
||||
package test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static test.Foo.*;
|
||||
|
||||
abstract class Foo implements List<Bar> {
|
||||
static class Bar {}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Add on demand static import for 'test.Foo'" "true"
|
||||
package test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
abstract class Foo implements List<F<caret>oo.Bar> {
|
||||
static class Bar {}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Add on demand static import for 'test.Foo.Bar'" "false"
|
||||
package test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
abstract class Foo implements List<F<caret>oo.Bar> {
|
||||
class Bar {}
|
||||
}
|
||||
Reference in New Issue
Block a user