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.

DemoApp.java 307B

123456789101112131415
  1. import org.aspectj.lang.annotation.*;
  2. public class DemoApp {
  3. public static void main(String[]argv) {}
  4. private void recurseInsteadOfWhile() {
  5. say();
  6. }
  7. public void say() { }
  8. }
  9. aspect X { // mixed style here...
  10. @Around("call(public void DemoApp+.say(..))")
  11. public void y() {}
  12. }