mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
20 lines
277 B
Java
20 lines
277 B
Java
// "Import static constant..." "true-preview"
|
|
|
|
package foo;
|
|
import static foo.A.*;
|
|
import static foo.A.CONST;
|
|
import static foo.B.*;
|
|
|
|
public class X {
|
|
{
|
|
CONST;
|
|
}
|
|
}
|
|
|
|
class A {
|
|
public static Object CONST = null;
|
|
}
|
|
|
|
class B {
|
|
public static Object CONST = null;
|
|
} |