blob: bff3a81014851d0493a92e33a220e423223469a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
public abstract aspect Tracing {
before (Object obj) : execution(* *(..)) && this(obj) {
System.out.println(thisJoinPoint);
}
// before (Object obj) : execution(* *(..)) && this(obj) {
before () : execution(* *(..)) {
System.out.println(thisJoinPointStaticPart);
}
// before (Object obj) : execution(* *(..)) && this(obj) {
before () : execution(* *(..)) && this(Object) {
System.out.println(thisEnclosingJoinPointStaticPart);
}
}
|