摘要 |
Embodiments of the present invention include systems and methods for template reverse engineering. In one embodiment, the present invention includes a computer-implemented method for code generation comprising receiving a template for generating code, receiving a model for generating code, processing the template and the model in a code generator, and in accordance therewith, generating code based on the model and the template, and automatically identifying a common program code construct in two or more of the generated code files. The common code may be automatically extracted from the generated code and embedded in a framework, and the templates may be modified to reference the framework.
|