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.

Code.java 328B

123456789101112131415161718
  1. public class Code {
  2. public void m() {
  3. }
  4. }
  5. aspect X {
  6. before(): execution(* m(..)) && cflow(adviceexecution()) {}
  7. before(): execution(* *(..)) {
  8. int i = 4;
  9. log("foo",thisJoinPoint);
  10. log(Integer.valueOf(i),thisJoinPoint);
  11. }
  12. public void log(String s,Object o) {}
  13. public void log(int s,Object o) {}
  14. }