The UML-to-Java transformation transforms UML 2.0 model elements into Java classes.
UML to Java transformation documentation