Regarding AspectJ and AOP in general:
What are the most used pointcut primitives?
Are there any statistics on this?
I think it could be execution
and call
, is that right?
Thanks.
Given the fact that in the Java-based AOP area method execution
is the only pointcut supported by Spring AOP which in turn supports @AspectJ syntax for its pointcuts, I would guess that this is the most frequently used pointcut primitive overall. I cannot help you with the stats part, though.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.