1 2 3 4 5 6 7 8 9 10
public aspect MyAspect { pointcut mypointcut(): execution(* getX()) && !within(MyAspect); int around(): mypointcut() { int w = proceed() + 4; return w; } }