I've only used
Rose which has plugins to generate
Java from UML. I'd expect the other big modeling tools to have similar goodies. We use a vendor framework that has added new tabs and fields to the Rose metamodel to control more code generation options. You can also export standard XMI from many UML tools and then use XSL to transform that into Java. Our vendor tool does that with an intermediate transformation from XMI to some simpler schema.