mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 12:50:56 +07:00
17 lines
289 B
Java
17 lines
289 B
Java
// "Add static import for 'test.StaticImport.v'" "true-preview"
|
|
package test;
|
|
|
|
import static test.StaticImport.v;
|
|
|
|
class StaticImport {
|
|
static String v = "123";
|
|
|
|
|
|
}
|
|
|
|
class Child extends StaticImport {
|
|
public static void main(String[] args) {
|
|
System.out.println(v);
|
|
|
|
}
|
|
} |