There are many software development tools that generate code for you based on a GUI tool or an input file. If this is part of your software development process, you must be certain to include the input to the generation in the version control for that system and to document the process for going from the meta-description to the generated code. More importantly, however, you can't start editing the generated code. Any changes you make would be thrown away the next time you regenerate the code. In some cases, I also like to put hand-written code into a different package than generated code. For example, if the class is primarily created and managed as generated code with a few hand-coded methods, put the hand-coded methods into another package. Otherwise, it may start to be difficult to identify which parts are hand-coded and which are generated.
Download