This commit is contained in:
Dmitry Jemerov
2009-09-10 21:08:51 +04:00
parent 0e77a58da0
commit 5c49d4d458
90 changed files with 6 additions and 0 deletions
@@ -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 {}
@@ -0,0 +1,5 @@
package p1;
public class Super {
public static final String CONSTANT = "";
public static void statMeth() {}
}