AspectJ OR Operator Doesn't Seem to be Functioning
问题 I'm having a little trouble getting a logging aspect set up using SpringAOP + AspectJ. I would like an "Around" method to fire when either a class or method is annotated with the @Loggable annotation. Below is my advice code: @Around(value = "execution( * *(..)) && target(bean) && @annotation(loggable)", argnames "bean, loggable") public void test1(ProceedingJoinPoint method, Object bean, Loggable loggable) { } @Around(value = "execution( * *(..)) && target(bean) && @within(loggable)",