I have project under version control. I need to study code that is not mine. I am trying to find a better way than writing down the classes and their relationships in UML.
Is there a tool that does this automatically?
Note: The files are read-only so I can not use a tool that would have to modify them. I am working in Eclipse environment.
To generate code from class diagram: Right click on the class diagram background and select Utilities > Java Round-trip > Generate Code from the popup menu. In the Generate Code dialog box, specify the source path where you want the code to be generated.
Copy all the elements in a class diagramRight-click the diagram surface and choose Select All, or press Ctrl + A. On the Edit menu, select Copy Image.
To create a class designer, right-click a project and select Class Diagram from the Add New Item dialog box. Then specify the name of the diagram. Visual Studio creates the item with the defined name and a . cd extension.
this program is very helpful (should work with no code changes)
The ObjectAid UML Explorer
http://www.objectaid.com/home
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With