sentence: code generation and reverse engineering bouml can automatically generate code from the uml class diagram and rebuild them from existing source code using the following languages : c++ , java , php , mysql .