I am trying to define a pointcut which will capture all the constructor calls, regardless of the modifier, return type, or class. I have used the following code
after():execution(* * * .new(..))
I am having an error :
Syntax error on token "*", "(" expected.
Can anybody suggest what may be the right approach?