Track all calls to specific method
已回答
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,
请先登录再写评论。
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!