While writing design document(tech specification doc) ,I need to create class diagrams for few classes which already exist and need some modifications.
Is there any tool/software available to generate class diagrams using existing classes??
Please suggest.
You need first to reverse the java code then to display it into a class diagram.
Finally changing the diagram will also change the code using live code a model synchronization.
The only tool which is capable of doing it is EclipseUML Omondo because this tool is focused on Java and live code and model synchronization while other tools are more MDD oriented. I mean that you model then generate code but you don't upload java code into model and merge it with the diagram change.
A good example to read is: http://www.forum-omondo.com/documentation_eclipseuml_2008/reverse/reverse/reverse_engineering_example.html