This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Method trace Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Method trace" Watch "Method trace" New topic
Author

Method trace

krishna pradeep
Greenhorn

Joined: May 24, 2006
Posts: 25
Ours is a big project. i have a method named getConnectionRDD() in DBConnectionManager.java. Now i want the method name and class name of all the methods that were calling getConnectionRDD(). My code change needs to be in getConnectionRDD(), since i cannot do the code change in calling component. Please help me.........


Pradeep<br /> <br />SCJP 1.4, SCWCD 1.4 , SCBCD 1.3
Panav Kumar
Greenhorn

Joined: Dec 26, 2006
Posts: 3
If you are using eclipse IDE then you can search for your method and it will show you all methods and class name where your method is in use.


Pranav Kumar
Anu Pillai
Greenhorn

Joined: Oct 09, 2006
Posts: 28
If you are using Eclipse IDE, then take the class where you have defined the method. Select the name of the method, and right click, you will get an option 'references', inside that choose project, and Eclipse will list all the methods which are calling this particular method.
 
Consider Paul's rocket mass heater.
 
subject: Method trace
 
Similar Threads
How do i know which method has called the current method
compareTo()
How force code execute before native method?
why we make method parameters final.
LookupDispatchAction + Javascript