newbie
newbie

Reputation: 959

Looking for ways to create UML model from Java source

What is the best way to document Java sources in UML? I know class diagrams, package diagrams and object diagram. What else should be documented? And is there any recommendation for a tool to support documentation?

Upvotes: 0

Views: 1075

Answers (2)

Xaelis
Xaelis

Reputation: 1599

From Java code, you can get the class diagram including relationships (relation diagram does not exist). Object diagram is for describing runtime instances.

If you have your Java code in a Git repository, you can get the corresponding UML model online using the GenMyModel reverse engineering feature (get started, documentation).

Upvotes: 2

xmojmr
xmojmr

Reputation: 8145

Use an UML modeling tool with some kind of code reverse engineering support so that it can create some basic diagrams automatically from your existing code.

Creation of the rest requires manual work and some imagination and some thinking on your side. There's no magic tool. That would be your task/work/effort.

To find out what might the "UML beside classes..." browse through

Upvotes: 2

Related Questions