blob: acc64c355a8f9f1e37787d1d991947dafd4ac9df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package bar;
public abstract aspect PrintAround {
abstract pointcut method();
Object around(): method() {
System.out.println("-before-");
Object r = proceed();
System.out.println("-after-");
return r;
}
}
|