Track all calls to specific method
Answered
Hey,
I was wondering whether it is possible with Intellij Idea to see all the callers of a specific method. Say I'm overwriting getListCellRenderComponent(args), and I want to see all the methods and their classes that call that method. Is that possible?
Cheers,
Please sign in to leave a comment.
Yes, you can just click on the getListCellRenderComponent(...) method signature inside the class that implements ListCellRenderer<Object> interface to see the method usages. (https://prnt.sc/te2cw4)
See the documentation pages for more options:
Source code hierarchy.
Search for usages.
Tnx!