I have an app with many endpoints. I made a change to functionWhoIsCallingMe(). I want to find which controller endpoints call this function (directly or hierarchically) so I can test it.
@RequestMapping("/a")
someEndpoint(){
anyFunction()
}
@RequestMapping("/b")
anotherEndpoint(){
functionWhoIsCallingMe()
}
anyFunction(){
functionWhoIsCallingMe()
}
Given this code I want to know ["/a", "/b"] is calling functionWhoIsCallingMe().
I tried "Call Hierarchy" but that's not practical here because it would take to long to open all the tabs. I also tried filtering like suggested here, but that doesn't work because you can only specify one type of class to NOT match and if it doesn't match it wont show the calling method. I can't say only show files with Controller in the file name.