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

23 lines
490 B
Java
Raw Normal View History

2005-10-31 16:53:24 +01:00
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);
}
2005-11-01 22:55:21 +01:00
before() : execution(public void LazyTjpTest4.test1()) {
System.out.println(thisJoinPoint);
}
2005-10-31 16:53:24 +01:00
}
}