mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 23:55:51 +02:00
23 lines
495 B
Java
23 lines
495 B
Java
public class LazyTjpTest5 {
|
|
|
|
public void test1 () { }
|
|
|
|
private static aspect Aspect1 {
|
|
|
|
private static boolean enabled = true;
|
|
|
|
after () : if(enabled) && execution(public void LazyTjpTest5.test1()) {
|
|
System.out.println(thisJoinPoint);
|
|
}
|
|
|
|
before() : execution(public void LazyTjpTest5.test1()) {
|
|
System.out.println(thisJoinPoint);
|
|
}
|
|
|
|
void around() : execution(public void LazyTjpTest5.test1()) {
|
|
System.out.println(thisJoinPoint);
|
|
}
|
|
}
|
|
|
|
}
|