mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-24 05:44:46 +02:00
12 lines
288 B
Java
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);
|
|
}
|
|
}
|