List out all the callers for a particular method from the project.
A source code analyzer
Brought to you by:
adangel,
juansotuyo
Hi, I have some question regarding PMD.
Is it possible to get all callers to a particular method from the project?
Like you can say in eclipse when we see the Call Hierarchy for particular method, it shows the list of methods from the project which is calling that method.
I found that API does not have proper documentation.
So please confirm on this asap, also is it possible to provide sample code if possible?
Thanks In Advance!!
Also want to add 1 more thig.. When we call any particular method from method on any objec, I also want list out such method list. Which approach is better XPath or Java Rule?
for example : public void callingMe(){
Message m = new Message();
m.callingYou();
m.testing();
...
...
}
Output : callingYou
testing