mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
push down: static import preserve (IDEADEV-33557)
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
package a;
|
||||
public class A {
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package b;
|
||||
import a.*;
|
||||
|
||||
public class B extends A {
|
||||
public static void foo(){
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package u;
|
||||
import static b.B.foo;
|
||||
public class U {
|
||||
public static void main(String[] args) {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user