mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test++
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import static p.Test.CONSTANT;
|
||||
import static p.Test.statMeth;
|
||||
class Usage {
|
||||
public void context() {
|
||||
String v = CONSTANT;
|
||||
statMeth();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package p;
|
||||
|
||||
public class Test {
|
||||
public static final String CONSTANT = "";
|
||||
|
||||
public static void statMeth() {}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import static p1.Super.CONSTANT;
|
||||
import static p1.Super.statMeth;
|
||||
class Usage {
|
||||
public void context() {
|
||||
String v = CONSTANT;
|
||||
statMeth();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package p;
|
||||
import p1.*;
|
||||
public class Test extends Super {}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package p1;
|
||||
public class Super {
|
||||
public static final String CONSTANT = "";
|
||||
public static void statMeth() {}
|
||||
}
|
||||
Reference in New Issue
Block a user