Generic Model Refactorings

Moha, Naouel; Mahé, Vincent; Barais, Olivier et Jézéquel, Jean-Marc (2009). « Generic Model Refactorings » (Proceedings of the ACM/IEEE 12th International Conference on Model Driven Engineering Languages and Systems (MODELS'09), ), sous la dir. de Sch"urr, Andy et Selic, Bran. 628–-643.

Fichier(s) associé(s) à ce document :
Télécharger (939kB)


Many modeling languages share some common concepts and principles. For example, Java, MOF, and UML share some aspects of the concepts of classes, methods, attributes, and inheritance. However, model transformations such as refactorings specified for a given language cannot be readily reused for another language because their related metamodels may be structurally different. Our aim is to enable a flexible reuse of model transformations across various metamodels. Thus, in this paper, we present an approach allowing the specification of generic model transformations, in particular refactorings, so that they can be applied to different metamodels. Our approach relies on two mechanisms: (1) an adaptation based mainly on the weaving of aspects; (2) the notion of model typing, an extension of object typing in the model-oriented context. We validated our approach by performing some experiments that consisted of specifying three well known refactorings (Encapsulate Field, Move Method, and Pull Up Method) and applying each of them onto three different metamodels (Java, MOF, and UML).

Type: Communication, article de congrès ou colloque
Informations complémentaires: IRISA/INRIA, University of Rennes 1, France
Déposé par: Naouel Moha
Date de dépôt: 29 janv. 2013 14:12
Dernière modification: 01 nov. 2014 02:24
Adresse URL :


Voir les statistiques sur cinq ans...