Track all methods and classes

I have a project with many packages and classes. Obviously, he will have many methods. I am currently using the Netbeans7.0 IDE. Is there any program, API, or way to track all possible paths / methods / parameters, such as the tree structure of all classes? I want to see all branches that start with the first method.

+4
source share
2 answers

So basically you need a call schedule for your project? Call graphs can be generated either through static code analysis, or dynamically as your code executes. Both approaches are useful, and both have advantages and disadvantages.

Both the Eclipse profiler and Netbeans can do this dynamically, as mentioned here .

To generate a static call, look here and here .

EDIT:

The Eclipse IDE also has the ability to generate a tree structure for calls using the Call Hierarchy tab, as mentioned here . NetBeans has something similar since version 6.5.

+2
source

Give me a look .

+1
source

Source: https://habr.com/ru/post/1380577/


All Articles