I am curious if anyone out there has used AOP to track code usage patterns in a Java Application? My goal is to log to the database all the java classes and methods that are being called with the goal of identifying unused code. Any pointers in the right directi开发者_运维问答on will help as well. My Java application is not spring enabled. Thanks!
For the particular purpose you mention of identifying unused code, you may want to take a look at Unnecessary Code Detector. Note however that it requires Eclipse.
精彩评论