Mapping aspect-oriented models to aspect-oriented code

  • Authors:
  • Max E. Kramer;Jörg Kienzle

  • Affiliations:
  • Karlsruhe Institute of Technology, Karlsruhe, Germany;McGill University, Montréal, Canada

  • Venue:
  • MODELS'10 Proceedings of the 2010 international conference on Models in software engineering
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

When aspect-oriented modeling techniques are used in the context of Model-Driven Engineering, a possible way of obtaining an executable from an aspect-oriented model is to map it to code written in an aspect-oriented programming language. This paper outlines the most important challenges that arise when defining such a mapping: mapping structure and behavior of a single aspect, mapping instantiation of structure and behavior in target models, mapping conflict resolution between aspects, and mapping aspect dependencies and variability. To explain these mapping issues, our paper presents details on how to map Reusable Aspect Models (RAM) to AspectJ source code. The ideas are illustrated by presenting example models and corresponding mapped code from the AspectOPTIMA case study.