1 2 3 4 5 6 7 8 9 10 11 12 13
package blah; public aspect MyAspect { pointcut callPointCut(): call(public * blah.MyClass+.*(..)); Object around() : callPointCut() { System.out.println("start of around"); Object result = proceed(); System.out.println("end of around"); return result; } }