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.

RecursiveCatcher.java 380B

123456789101112131415161718192021
  1. package recursivepackage;
  2. public aspect RecursiveCatcher {
  3. pointcut recur() :
  4. call(public void
  5. *.recursiveCall(int));
  6. before(): recur() {
  7. // empty
  8. }
  9. public void recursiveCall(int i) { // marker is here
  10. recursiveCall(i); // marker should be here
  11. }
  12. }