1 2 3 4 5 6 7 8 9 10 11
package c.d; public abstract aspect AbstractDurationMethod { public abstract pointcut methods(); Object around(): methods() { Object o = proceed(); System.out.println("Proceeded at joinpoint "+thisJoinPoint); return o; } }