I need to generate java code from uml. I tested different modeling Tools such as modelio, eclipse modeling framework emf, visual paradigm.... However all of these help me to generate java code from class diagram, which will only help me in generating the getter /setter and the function header. I need to generate the function body from activity, statechart or sequence diagram I need to know what is the best modeling tool to do so and can I create a code generator to be able to customize the generate code
Try the Alf plugin for MagicDraw that produces UML activities, then the Lieber Lieber tool to generate code from UML activities. Executable UML is becoming a thing, finally.