1. A computer implemented method, comprising: providing a program coded in a first programming language having data structures, wherein at least one of the data structures includes a reference to reusable code; generating a model file providing a source name identifying the reusable code, elements and attributes in a second programming language for the reference to the reusable code in the program; invoking a generator with a reference to the model file; processing, by the invoked generator, the data structure coded in the first programming language to generate a data structure schema in a second programming language describing elements and attributes of the data structure coded in the first programming language; determining instances of the source name indicated in the model file in the data structure; and generating, for the determined instances of the source name in the data structure, a reference in the data structure schema to the reusable code identified by the source name, wherein the reference generated in the data structure schema includes the element and attribute information indicated in the model file.
1. A computer implemented method, comprising: providing a program coded in a first programming language having data structures, wherein at least one of the data structures includes a reference to reusable code; generating a model file providing a source name identifying the reusable code, elements and attributes in a second programming language for the reference to the reusable code in the program; invoking a generator with a reference to the model file; processing, by the invoked generator, the data structure coded in the first programming language to generate a data structure schema in a second programming language describing elements and attributes of the data structure coded in the first programming language; determining instances of the source name indicated in the model file in the data structure; and generating, for the determined instances of the source name in the data structure, a reference in the data structure schema to the reusable code identified by the source name, wherein the reference generated in the data structure schema includes the element and attribute information indicated in the model file. 4. The method of claim 1 , wherein the model file is generated from a metamodel file.