blob: b4f1973529965a110a07cc7ba1c40eac53bf9346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
aspect Aspect2 {
public static class Construction3._ {
String string;
public _(String string) { this.string = string;}
public String toString() {
return string;
}
}
public static Construction3._ Construction3._() { return new _("abc"); }
public static String Construction3.foo() { return "abc"; }
}
public class Construction3 {
public static void main(String []argv) {
Object o = _();
o = foo();
System.out.println(o);
}
}
|