Hi, This should be supported. Isn't it. I use Spring Tool Suite and @EnableAspectJAutoProxy
Thanks, Mohan @Pointcut("execution(* com.pearson.nextgen.enterprise.service.CourseService. getCoursesByInstitutionId(String)) && if()") public static boolean courseSearch() { return Boolean.getBoolean( mockOrNot.get() ); } Caused by: org.aspectj.weaver.tools.UnsupportedPointcutPrimitiveException: Point cut expression 'execution(* com.pearson.nextgen.enterprise.service. CourseService .getCoursesByInstitutionId(String)) && if()' contains unsupported pointcut primi tive 'if' at org.aspectj.weaver.tools.PointcutParser. validateAgainstSupportedPrimi tives(PointcutParser.java:435) at org.aspectj.weaver.tools.PointcutParser. validateAgainstSupportedPrimi tives(PointcutParser.java:413) at org.aspectj.weaver.tools.PointcutParser. resolvePointcutExpression(Poi ntcutParser.java:311) at org.aspectj.weaver.reflect.InternalUseOnlyPointcutParser. resolvePoint cutExpression(InternalUseOnlyPointcutParser.java:36) at org.aspectj.weaver.reflect.Java15ReflectionBasedReference TypeDelegate .getDeclaredPointcuts(Java15ReflectionBasedReferenceTypeDelegate.java:307) at org.aspectj.weaver.ReferenceType.getDeclaredPointcuts( ReferenceType.j ava:884)
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-users