blob: 1025d1f31f153a3acd3bd6e8c7b23753cf079dd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
public class LazyTjpTest4 {
public void test1 () { }
private static aspect Aspect1 {
private static boolean enabled = true;
after () : if(enabled) && execution(public void LazyTjpTest4.test1()) {
System.out.println(thisJoinPoint);
}
before() : execution(public void LazyTjpTest4.test1()) {
System.out.println(thisJoinPoint);
}
before() : execution(public void LazyTjpTest4.test1()) {
System.out.println(thisJoinPoint);
}
}
}
|