1 2 3 4 5 6 7 8 9 10 11
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); } }