I am trying to have the following logic;
x.b.Classy
I have been trying to use this but annotation with any type logic is failing, how do I represent class type with 100% wildcard?
@Pointcut("within(x.b.Classy) && execution(public * *(..)) && @annotation(*)")
Though getting the following;
java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting 'identifier'
within(x.b.Classy) && execution(public * *(..)) && @annotation(*)
^
How do I represent any type of annotation within my pointcut definition?
I think that what you want is something like:
@Pointcut("within(x.b.Classy) && execution(@(*) public * *(..))")