I have given a small project to understand the flow and functionality. I am a fresher. This project contains 3 packages with each containing 4 to 5 java classes. now I study a method and confused with its calling. Is there any way to know fwhere where in the project, that method is called from. If i try running single single classes , then few methods don't get called so not able to see their exact output.
Asked
Active
Viewed 194 times
0
-
import the project into eclipse and debug your project. – ppuskar Sep 01 '14 at 09:06
-
1possible duplicate of [Find methods calls in Eclipse project](http://stackoverflow.com/questions/5268998/find-methods-calls-in-eclipse-project) – Michał Schielmann Sep 01 '14 at 09:07
3 Answers
0
Create a project out of it in editors like Eclipse or Intellij Idea. Right click on method you would get options to get method callers.

ddinde
- 96
- 1
- 9
0
Import your project in Eclipse and for each method highlight it and right click and select "Open Call Hierarchy" you will get all the method calls for that method in the view "Call Hierarchy".Expand and you will get the flow.

m b
- 310
- 1
- 8