org.aspectj/tests/other-systems/util/AroundAll.java
2002-12-16 18:51:06 +00:00

12 lines
288 B
Java

aspect AroundAll {
pointcut targets(Object o):
execution(!abstract !native * *(..)) && this(o) && Pcds.withinMe();
Object around(Object thisObj): targets(thisObj) {
if (true) {
throw new RuntimeException("not meant to run");
}
return proceed(thisObj);
}
}