Java Dependencies [message #663146] |
Mon, 04 April 2011 05:35 |
Java Jack Messages: 1 Registered: April 2011 Location: Denver |
Junior Member |
|
|
Are there any tools in Eclipse to map, diagram or list the dependencies, function calls, and object creation in a project? I'm reverse engineering a small Java program that I inherited without documentation and I'm trying to trace the execution flow. It's multi-threaded and I'd like to avoid doing it manually, so any automation would be a big help.
Thanks.
[Updated on: Mon, 04 April 2011 05:39] Report message to a moderator
|
|
|
Re: Java Dependencies [message #663148 is a reply to message #663146] |
Mon, 04 April 2011 05:52 |
|
Well in Eclipse you can trace the method call, by Going to the Navigate Menu and then Open Declaration or Open Call Hierarchy. For Classes or Interfaces, you can use Open Type Hierarchy. For any object, variable, method or Class you can Right Click on it and Find its reference by Clicking "References" from the context menu ( Or Shortcut Key Ctrl + Shift + G).
Is that what you wanted?
Regards,
Animesh
|
|
|
Re: Java Dependencies [message #663259 is a reply to message #663146] |
Mon, 04 April 2011 13:16 |
|
On 2011.04.03 23:35, Java Jack wrote:
> Is there any tools in Eclipse to map, diagram or list the dependencies,
> function calls, and object creation in a project? I'm reverse
> engineering a small Java program that I inherited without documentation
> and I'm trying to trace the execution flow. I'd like to avoid doing it
> manually, so any automation would be a big help.
There are a number of free tools out there that will analyze your Java
code and generate a UML from the classes. Some may even integrate with
Eclipse.
|
|
|
Powered by
FUDForum. Page generated in 0.05128 seconds