Applying Metamodel-based Tooling to Object-oriented Code
Heiko Klare, Timur Saglam, Erik Burger, Ralf Reussner
2019
Abstract
Model-driven development processes mainly from the capabilities of modelling frameworks, since these offer an explicit representation of model elements and features, as well as reusable tooling, such as transformation languages or editor frameworks. Nevertheless, most software systems are not developed in a model-driven way although they do contain implicit models encoded in their object-oriented design. Adaptation to model-driven tooling imposes high manual effort and easily breaks compatibility with dependent code and existing tooling. We present an automated and minimally intrusive approach that makes implicit models in software systems explicit. We adapt existing object-oriented code so that it provides an explicit model representation, while preserving its original API. As a result, capabilities of modelling frameworks, such as persistence and change notifications, can be integrated into object-oriented code, and enable the application of reusable tools. We provide a classification of requirements that existing code has to fulfill, usable as an indicator for the applicability of modelling tools to them. An evaluation based on one artificial and two open-source case study systems shows the correct preservation of the API, as well as the ability to apply tooling to the modified code.
DownloadPaper Citation
in Harvard Style
Klare H., Saglam T., Burger E. and Reussner R. (2019). Applying Metamodel-based Tooling to Object-oriented Code.In Proceedings of the 7th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-358-2, pages 219-230. DOI: 10.5220/0007246202190230
in Bibtex Style
@conference{modelsward19,
author={Heiko Klare and Timur Saglam and Erik Burger and Ralf Reussner},
title={Applying Metamodel-based Tooling to Object-oriented Code},
booktitle={Proceedings of the 7th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2019},
pages={219-230},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007246202190230},
isbn={978-989-758-358-2},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 7th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Applying Metamodel-based Tooling to Object-oriented Code
SN - 978-989-758-358-2
AU - Klare H.
AU - Saglam T.
AU - Burger E.
AU - Reussner R.
PY - 2019
SP - 219
EP - 230
DO - 10.5220/0007246202190230