1. An apparatus for automatically generating source code files in a file storage unit, the apparatus comprising: a processor configured to interact with a memory; a file storage unit that stores the source code files; and a code generator unit that generates at least some of the source code files, wherein the code generator unit comprises: a file unit that monitors the file storage unit to detect changes in the file storage unit and in response send file event notifications; a metadata unit that builds a metadata model relating to the source code files in the file storage unit, wherein the metadata model comprises a plurality of metadata items, wherein each metadata item comprises a metadata section containing metadata, a key that identifies the metadata item, and one or more dependencies of the metadata items in relation to other of the metadata items, and wherein the metadata unit sends metadata notifications according to changes to the dependencies of the metadata items; and at least one add-on unit comprising a metadata provider module that (i) provides the metadata items to the metadata unit and registers the dependencies of the metadata items on other of the metadata items, (ii) automatically generates one or more of the source code files using the metadata model in response to the file event notifications and the metadata notifications, and (iii) automatically generates at least one of the source code files containing an inter-type declaration that adds an additional member into another of the source code files.
1. An apparatus for automatically generating source code files in a file storage unit, the apparatus comprising: a processor configured to interact with a memory; a file storage unit that stores the source code files; and a code generator unit that generates at least some of the source code files, wherein the code generator unit comprises: a file unit that monitors the file storage unit to detect changes in the file storage unit and in response send file event notifications; a metadata unit that builds a metadata model relating to the source code files in the file storage unit, wherein the metadata model comprises a plurality of metadata items, wherein each metadata item comprises a metadata section containing metadata, a key that identifies the metadata item, and one or more dependencies of the metadata items in relation to other of the metadata items, and wherein the metadata unit sends metadata notifications according to changes to the dependencies of the metadata items; and at least one add-on unit comprising a metadata provider module that (i) provides the metadata items to the metadata unit and registers the dependencies of the metadata items on other of the metadata items, (ii) automatically generates one or more of the source code files using the metadata model in response to the file event notifications and the metadata notifications, and (iii) automatically generates at least one of the source code files containing an inter-type declaration that adds an additional member into another of the source code files. 2. The apparatus as recited in claim 1 , wherein the metadata provider module automatically generates one or more of the source code files using the metadata model in response to the file event notifications or the metadata notifications.