期刊名称:Journal of Theoretical and Applied Information Technology
印刷版ISSN:1992-8645
电子版ISSN:1817-3195
出版年度:2013
卷号:58
期号:1
出版社:Journal of Theoretical and Applied
摘要:Model-driven code generation has been a topic of interest for researchers owing to its several benefits including the anticipated reduction in development effort and delivery time. It has taken a good deal of time to produce techniques that generate executable code in object-oriented programming languages. Aspect-oriented software development techniques, though expected to enhance software development in many ways, still lack approaches that can deliver model-driven code into one of the aspect-oriented programming languages such as AspectJ. In this paper, we present an approach for generation of aspect-oriented code from Reusable Aspect Models. As first step towards the code generation, we have developed a formal and semantically equivalent text-based representation of the aspect models using XML schema notation. Further, we have proposed an approach that takes the XML representation of the aspect models to generate aspect-oriented skeleton code. Currently, our approach can be used to obtain complete aspect structure, interfaces, classes, constructors, fields and stubs of methods specified in the structural part of an aspect.