I have seen two variations of pointcut patterns:
This
execution(* some.package.*.*(..))
and this
execution(* some.package.* *(..))
What is the meaning of the dot (or of it absence) between the last two *’s?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This appendix defines grammar of the pointcut expression langauge. For the execution expression the rule is the following:
where
That means that if you have 3 expressions (separated by space) before “(“, then the first is modifier, second is class and third is method name. But if you have 2 expressions before “(“, then first will be class and second will be method name.