Towards Round-Trip Engineering of Code Fragments Embedded in Models

被引:0
|
作者
Almutairi, Sultan [1 ]
Zolotas, Athanasios [2 ]
Kolovos, Dimitris [1 ]
机构
[1] Univ York, Dept Comp Sci, York, N Yorkshire, England
[2] Liverpool John Moores Univ, Sch Comp Sci & Math, Liverpool, Merseyside, England
基金
“创新英国”项目;
关键词
Model-Driven Engineering; Model-to-Text Transformation; Roundtrip Engineering;
D O I
10.1145/3550356.3561578
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
While embedding code fragments in abstract software models (e.g. Java code in UML models) is far from ideal, it remains a commonly-employed approach for achieving full model-based code generation. In this paper, we embrace this reality and present an approach for extending model-to-text (M2T) transformation languages with support for round-trip engineering of such code fragments. The approach consists of a new construct in M2T templates named sync regions, and a mechanism for synchronising hand-written code in sync regions with the source model of the M2T transformation. We have implemented the proposed approach on top of an existing M2T language (Epsilon Generation Language) and we have carried out experimental evaluation of the correctness and performance of our implementations. The obtained results suggest that the synchronisation algorithm scales linearly with the number of sync regions.
引用
收藏
页码:529 / 538
页数:10
相关论文
共 50 条
  • [21] Handcrafting a Triple Graph Transformation System to Realize Round-trip Engineering Between UML Class Models and Java']Java Source Code
    Buchmann, Thomas
    Greiner, Sandra
    ICSOFT-PT: PROCEEDINGS OF THE 11TH INTERNATIONAL JOINT CONFERENCE ON SOFTWARE TECHNOLOGIES - VOL. 2, 2016, : 27 - 38
  • [22] A Technique for Round-Trip Engineering of Behavioral UML Model Elements
    Bojic, M. Dragan
    IPSI BGD TRANSACTIONS ON INTERNET RESEARCH, 2007, 3 (01): : 18 - 24
  • [23] Model-driven Round-trip Software Dependability Engineering
    Tucci, Michele
    21ST ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS: COMPANION PROCEEDINGS (MODELS-COMPANION '18), 2018, : 186 - 191
  • [24] Round-trip engineering with the Two-Tier Programming Toolkit
    A.H. Eden
    E. Gasparis
    J. Nicholson
    R. Kazman
    Software Quality Journal, 2018, 26 : 249 - 271
  • [25] Bidirectional Translation between OCL and JML for Round-trip Engineering
    Shimba, Hiroaki
    Hanada, Kentrao
    Okano, Kozo
    Kusumoto, Shinji
    2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 2, 2013, : 49 - 54
  • [26] Round-trip engineering for maintaining conceptual-relational mappings
    An, Yuan
    Hu, Xiaohua
    Song, Il-Yeol
    ADVANCED INFORMATION SYSTEMS ENGINEERING, PROCEEDINGS, 2008, 5074 : 296 - 311
  • [27] Round-trip over the Ocean
    Tami, Sakiyama
    Takuma, Sminkey
    MANOA-A PACIFIC JOURNAL OF INTERNATIONAL WRITING, 2011, 23 (01): : 1 - 20
  • [28] The Round-Trip Contrast Problem
    Marriott, John
    2014 IEEE 53RD ANNUAL CONFERENCE ON DECISION AND CONTROL (CDC), 2014, : 5788 - 5793
  • [29] One round-trip to Germany
    不详
    ZKG INTERNATIONAL, 2008, 61 (03): : 18 - 21
  • [30] Neutrophils take a round-trip
    Garner, Hannah
    de Visser, Karin E.
    SCIENCE, 2017, 358 (6359) : 42 - +