Towards roundtrip engineering -: A template-based reverse engineering approach

被引:0
|
作者
Bork, Manuel [1 ]
Geiger, Leif [1 ]
Schneider, Christian [1 ]
Zuendorf, Albert [1 ]
机构
[1] Univ Kassel, Software Engn Res Grp, D-34121 Kassel, Germany
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Model driven development suggests to make models the main artifact in software development. To get executable models in most cases code generation to a "traditional" programming language like e.g. Java is used. To obtain customizable code generation template-based approaches are applied, commonly. So, to adapt the generated code to platform specific needs templates are modified by the user. After code generation, in real world application the generated code is often changed e.g. by refactorings. To keep the code and the model synchronous reverse engineering is needed. Many approaches use a Java parser and a mapping from the Java parse tree to the UML model for this task. This causes maintenance issues since every change to a template potentially results in a change to this parse tree - model mapping. To tackle this maintenance problem our solution does not use a common language parser but uses the templates as a grammar to parse the generated code, instead. This way changes to the templates are automatically taken into account in the reverse engineering step. Our approach has been implemented and tested in the Fujaba CASE tool as a part of the model and template-based code generator CodeGen2 [11].
引用
收藏
页码:33 / 47
页数:15
相关论文
共 50 条
  • [21] Towards New Hybrid Approach of the Reverse Engineering of UML Sequence Diagram
    Baidada, Chafik
    Jakimi, Abdeslam
    2016 4TH IEEE INTERNATIONAL COLLOQUIUM ON INFORMATION SCIENCE AND TECHNOLOGY (CIST), 2016, : 164 - 168
  • [22] Reverse engineering using a knowledge-based approach
    Durupt, A. (alexandre.durupt@utc.fr), 1600, Inderscience Enterprises Ltd., 29, route de Pre-Bois, Case Postale 856, CH-1215 Geneva 15, CH-1215, Switzerland (19): : 1 - 3
  • [23] Towards a UML based approach to role engineering
    Epstein, P
    Sandhu, R
    FOURTH ACM WORKSHOP ON ROLE-BASED ACCESS CONTROL, PROCEEDINGS, 1999, : 135 - 143
  • [24] An augmented template-based approach to text realization
    Mcroy, Susan W.
    Channarukul, Songsak
    Ali, Syed S.
    Natural Language Engineering, 2003, 9 (04) : 381 - 420
  • [25] A Template-Based Approach to Describing Metamorphic Relations
    Segura, Sergio
    Duran, Amador
    Troya, Javier
    Ruiz Cortes, Antonio
    2017 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2017), 2017, : 3 - 9
  • [26] A template-based approach to automatic face enhancement
    Stefano Melacci
    Lorenzo Sarti
    Marco Maggini
    Marco Gori
    Pattern Analysis and Applications, 2010, 13 : 289 - 300
  • [27] A template-based approach to automatic face enhancement
    Melacci, Stefano
    Sarti, Lorenzo
    Maggini, Marco
    Gori, Marco
    PATTERN ANALYSIS AND APPLICATIONS, 2010, 13 (03) : 289 - 300
  • [28] Neurosymbolic system profiling: A template-based approach
    Amador-Dominguez, Elvira
    Serrano, Emilio
    Manrique, Daniel
    KNOWLEDGE-BASED SYSTEMS, 2024, 287
  • [29] Dynamic Programming Approach to Template-based OCR
    Povolotskiy, Mikhail A.
    Tropin, Daniil V.
    ELEVENTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2018), 2019, 11041
  • [30] A TEMPLATE-BASED APPROACH FOR RECOGNITION OF INTERMITTENT SOUNDS
    PINKOWSKI, B
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 507 : 51 - 57