To
protect generated code when you rerun a transformation, you must create a Java™ code
template. The transformation uses the template to enclose the generated method
bodies. When you rerun the transformation, it does not overwrite the code
that the template encloses.
To protect generated code when you rerun
a transformation: