The Java to UML transformation transforms Java classes to UML 2.0 specifications.
You can use the transformation to populate a new UML 2.0 model or you can merge the generated
UML 2.0 content with an existing UML 2.0 model.
Java to UML transformation documentation