Community
Participate
Working Groups
Build Identifier: 20100506-2000 The following are two annotation definitions: public @interface XAnnotation { int xid() default 0; } public @interface YAnnotation { int yid() default 0; } Defining the following pointcut raises syntax error [Syntax error on token "(", ")" expected] pointcut myPointcut1(): execution( @(XAnnotation || YAnnotation(id=9)) * *(..)) ; Note that pointcut myPointcut1(): execution( @(XAnnotation || YAnnotation) * *(..)) ; works fine. Reproducible: Always Steps to Reproduce: See details.