开发者

Using AOP to track code usage patterns in a Java Application

开发者 https://www.devze.com 2023-02-25 16:57 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消