Dependency map for Java classes and methods

前端 未结 8 1559
予麋鹿
予麋鹿 2020-12-30 11:49

I have a Java project that I\'ve been working on for a while. The design started out pretty good but slowly degraded as changes were made. I\'m looking for some sort of to

8条回答
  •  太阳男子
    2020-12-30 12:31

    This is not a perfect answer, but it may be helpful for quick checks. If you are using Eclipse for your development, you can view the call graph for a method by selecting its name and pressing Ctrl-Alt-H (or right-click and select "Open Call Hierarchy"). You can use the view that opens to see what calls the method, and what methods are called by the method.

提交回复
热议问题