statisticsaspectjpointcutpointcuts

Most used pointcuts


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.


Solution

  • 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.