During the initialization process a number of extension points are checked for existence of extensions that define different aspects of the code generation behavior.These extensions must be defined in the protocol specific plug-ins extending core code generation classes.
Extension points for code generation
Java has a 64KB limit on the size of a class method code. When there is a possibility of creating large methods that approach this limit, a check has to be programmed into the code generation extension to verify limit is not being exceeded. The guideline is to generate multiple smaller methods instead.
com.ibm.rational.test.lt.codegen.core.typeDefDescription
Language element types that specify their own translators.
com.ibm.rational.test.lt.codegen.core.elementTranslatorMapping
What AbstractTranslator class extensions are responsible for generating code for code generation model elements.
com.ibm.rational.test.lt.codegen.core.structureDefinition
Class that perform translation at the script level, the ScriptDefinition class.
com.ibm.rational.test.lt.codegen.core.modelElementAdapter
Relationship between low-level behavior model elements and code generation model elements.
com.ibm.rational.test.lt.codegen.core.modelReader
Class that reads the behavior model elements.
com.ibm.rational.test.lt.codegen.core.TemplateLocation
Location of the directory containing the templates.
com.ibm.rational.test.lt.codegen.core.elementTypeTemplateBinding
Associates element types with the text templates.
com.ibm.rational.test.lt.codegen.core.elementTypeImportMapping
Packages to be imported into the script when a particular element type is used in the test.
com.ibm.rational.test.lt.codegen.core.testProjectDependency
Projects and the plug-ins to be added to the test project's class path.
Related
Code generation Generate test code Create the script class Code generation templates New protocol extensions Public APIs of codegen.core