Transformations for Code Generation
- 1.9k Downloads
This chapter adds specific techniques and transformations to the basic idea of code generation as introduced in Chapter 4. Sections 5.1 to 5.5 explain the approach for transforming class diagrams and object diagrams, generating code from OCL, executing Statecharts, and generating tests from sequence diagrams in Java. For class diagrams this chapter discusses known concepts and some alternatives in a compact transformational form. Section 5.1 demonstrates how we can systematically represent transformation rules for code generation from class diagrams.
KeywordsCode Generation Transformation Rule Class Diagram Sequence Diagram Diagram State
Unable to display preview. Download preview PDF.