01: package regtest.java.J;
02:
03: public class J {
04: public J() {
05: }
06:
07: public J(Object dummy) {
08: }
09:
10: // A constructor with default visibility.
11: // We'll make sure that we can subclass this class in a different package
12: // in Nice, in which case this constructor must be igored.
13: J(String dummy) {
14: }
15:
16: public void access(Object o) {
17: }
18:
19: void access(String o) {
20: throw new Error("Not accessible");
21: }
22:
23: Object obj;
24:
25: void jMethod(Other o) {
26: }
27:
28: public void init(java.util.Map m) {
29: }
30: }
|