主权项 |
1. A computer implemented method for model driven development, the method comprising:
analyzing program code, by a computer, to determine execution sequence of statements of the program code, the program code being generated by performing a first transformation to a model, the model including an abstract description of a business implemented by the program code; grouping, by the computer, at least a part of the statements of the program code into functional blocks; creating, by the computer, a visual representation of the program code based on the execution sequence and the functional blocks; and determining, by the computer, a code snippet to be preserved in the program code, in response to receiving an annotation input of the visual representation, the code snippet to be preserved in new program code generated by performing a second transformation to the model, the second transformation being executed after the first transformation. |