I\'m trying to define a pointcut expression to match methods which contain a parameter annotated with a specific annotation, regardless of what position the parameter is in.
I think you want execution(public * *.*(.., @com.example.Constraint *, ..), modulo some syntax.
execution(public * *.*(.., @com.example.Constraint *, ..)