Advice

Table A.4. Advice

before(Formals) : Run before the join point.
after(Formals) returning [ (Formal) ] : Run after the join point if it returns normally. The optional formal gives access to the returned value.
after(Formals) throwing [ (Formal) ] : Run after the join point if it throws an exception. The optional formal gives access to the Throwable exception value.
after(Formals) : Run after the join point both when it returns normally and when it throws an exception.
Type around(Formals) [ throws TypeList ] : Run instead of the join point. The join point can be executed by calling proceed.