org.aspectj/tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java

23 lines
495 B
Java
Raw Normal View History

2005-11-01 22:55:21 +01:00
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);
}
}
}