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.

ProceedArgsCE.java 408B

123456789101112131415161718192021
  1. public class ProceedArgsCE {
  2. public static void main(String[] args){
  3. new ProceedArgsCE().go();
  4. }
  5. void go() {
  6. System.out.println("... ");
  7. }
  8. }
  9. aspect A {
  10. void around(Object o): this(o) {
  11. proceed(); // CE
  12. }
  13. void around(Object o): this(o) {
  14. proceed(2); // CE
  15. }
  16. void around(Object o): this(o) {
  17. proceed("hi", 2); //CE
  18. }
  19. }