1 2 3 4 5 6 7 8 9 10 11 12 13
// bug 44272 public aspect CircularAdvicePrecedence { pointcut crun() : execution (void run()) ; before() : crun() {} after() returning : crun() {} void around() : crun() { proceed(); } } class Runner { public void run() {} }