You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Construction3.java 469B

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