method bodies, since it only allows for structural
modeling. The EMF code generation engine is able to
preserve these user-supplied code fragments on sub-
sequent generation steps. However, using this mecha-
nism, modifications and deletions in the Ecore model
are no longer propagated to the corresponding code
fragments.
We presented an approach that makes use of so
called GenModel-Annotations, allowing to specify in-
formation which is not originally supported by the
Ecore metamodel. In advance, we use MoDisco to
automatically parse the Java source code into a cor-
responding AST model. Model transformations are
applied to extract the required information from the
AST model and to add it to the Ecore model using
EAnnotations.
Furthermore, we explained in detail how this ap-
proach provides a significant improvement in model-
driven software product line engineering (MDPLE):
Since we use a generic tool chain for MDPLE, con-
ceptual links between different models, e.g. an Ecore
model and a corresponding Java model containing
body implementations cannot be hardcoded in the
tool. In order to provide consistency between these
types of models, the information stored in both of
them has to be integrated using the approach dis-
cussed in this paper.
ACKNOWLEDGEMENTS
The authors want to thank Bernhard Westfechtel for
his valuable and much appreciated comments on the
draft of this paper.
REFERENCES
Arendt, T., Biermann, E., Jurack, S., Krause, C., and
Taentzer, G. (2010). Henshin: Advanced concepts
and tools for in-place EMF model transformations. In
Petriu, D. C., Rouquette, N., and Haugen, Ø., editors,
Proceedings 13th International Conference on Model
Driven Engineering Languages and Systems (MOD-
ELS 2010), Part I, volume 6394, pages 121–135, Oslo,
Norway. Springer Verlag.
Bruneliere, H., Cabot, J., Jouault, F., and Madiot, F. (2010).
MoDisco: a generic and extensible framework for
model driven reverse engineering. In Proceedings
of the IEEE/ACM international conference on Auto-
mated software engineering, ASE ’10, pages 173–
174, New York, NY, USA. ACM.
Buchmann, T. and Schw
¨
agerl, F. (2012). FAMILE: tool
support for evolving model-driven product lines. In
St
¨
orrle, H., Botterweck, G., Bourdells, M., Kolovos,
D., Paige, R., Roubtsova, E., Rubin, J., and Tolvanen,
J.-P., editors, Joint Proceedings of co-located Events
at the 8th European Conference on Modelling Foun-
dations and Applications, CEUR WS, pages 59–62,
Building 321, DK-2800 Kongens Lyngby. Technical
University of Denmark (DTU).
Buchmann, T. and Schw
¨
agerl, F. (2014). A model-driven
approach to the development of heterogeneous soft-
ware product lines. In Mannaert, H., Lavazza, L.,
Oberhauser, R., Kajko-Mattsson, M., and Gebhart,
M., editors, Proceedings of the Ninth International
Conference on Software Engineering Advances (IC-
SEA 2014), pages 300–308, Nice, France. ICSEA.
Buchmann, T., Westfechtel, B., and Winetzhammer, S.
(2011). MODGRAPH - A Transformation Engine for
EMF Model Transformations. In Proceedings of the
6th International Conference on Software and Data
Technologies, pages 212 – 219.
Buchmann, T., Westfechtel, B., and Winetzhammer, S.
(2012). The added value of programmed graph trans-
formations — a case study from software configura-
tion management. In Sch
¨
urr, A., Varro, D., and Varro,
G., editors, Applications of Graph Transformations
with Industrial Relevance (AGTIVE 2011), Budapest,
Hungary. Presented at AGTIVE 2011, currently under
review for publication in the post-proceedings.
Clements, P. and Northrop, L. (2001). Software Product
Lines: Practices and Patterns. Boston, MA.
Frankel, D. S. (2003). Model Driven Architecture: Apply-
ing MDA to Enterprise Computing. Wiley Publishing,
Indianapolis, IN.
Giese, H., Hildebrandt, S., and Seibel, A. (2009). Im-
proved flexibility and scalability by interpreting story
diagrams. ECEASST, 18.
Kang, K. C., Cohen, S. G., Hess, J. A., Novak, W. E.,
and Peterson, A. S. (1990). Feature-oriented do-
main analysis (FODA) feasibility study. Technical Re-
port CMU/SEI-90-TR-21, Carnegie-Mellon Univer-
sity, Software Engineering Institute.
OMG (2011). Meta Object Facility (MOF) Core. Object
Management Group, Needham, MA, formal/2011-08-
07 edition.
Steinberg, D., Budinsky, F., Paternostro, M., and Merks,
E. (2009). EMF Eclipse Modeling Framework. The
Eclipse Series. Boston, MA, 2nd edition.
V
¨
olter, M., Stahl, T., Bettin, J., Haase, A., and Helsen, S.
(2006). Model-Driven Software Development: Tech-
nology, Engineering, Management. John Wiley &
Sons.
ICSOFT-PT2015-10thInternationalConferenceonSoftwareParadigmTrends
102