Code Generation
Visual Paradigm
- Visual Paradigm → Tools → Code → Generate Java Code
- Visual Paradigm → Tools → Code → Reverse Java Code
StarUML
- StarUML → Tools → Java → Generate Code
- StarUML → Tools → Java → Reverse Code
Umple
Umple (opens in a new tab) is a model-oriented programming technology, allowing developers to embed modelling concepts such as UML associations, state machines, patterns, generation templates, and other abstractions in traditional code, and vice versa.
It generates high quality code for Java, C++, PHP, and Python, as well as diagrams, metrics and many other artifacts. It can be embedded in the above languages as well as embed them. An online editor/generator is available at Umple Online (opens in a new tab).