This commit is contained in:
Dmitry Jemerov
2009-09-11 17:58:27 +04:00
parent 65d427a987
commit f7fadb2005
17 changed files with 6 additions and 0 deletions
@@ -0,0 +1,6 @@
package pack1;
public class A {
public static void renamedStaticMethod(int i) {
}
}
@@ -0,0 +1,9 @@
package pack2;
import static pack1.A.renamedStaticMethod;
class Usage {
{
renamedStaticMethod(27);
}
}
@@ -0,0 +1,6 @@
package pack1;
public class A {
public static void staticMethod(int i) {
}
}
@@ -0,0 +1,9 @@
package pack2;
import static pack1.A.staticMethod;
class Usage {
{
staticMethod(27);
}
}