Role-Based Generic Model Refactoring

被引:0
作者
Heimann, Jan [1 ]
Seifert, Mirko [1 ]
Assmann, Uwe [1 ]
机构
[1] Tech Univ Dresden, Inst Software & Multimediatech, D-01062 Dresden, Germany
来源
MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PT II | 2010年 / 6395卷
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Refactorings can be used to improve the structure of software artifacts while preserving the semantics of the encapsulated information. Various types of refactorings have been proposed and implemented for programming languages such as Java or C#. With the advent of Model-Driven Software Development (MDSD), the need for restructuring models similar to programs has emerged. Previous work in this field [1,2] indicates that refactorings can be specified generically to foster their reuse. However, existing approaches can handle only certain types of modelling languages and reuse refactorings only once per language. In this paper a novel approach based on role models to specify generic refactorings is presented. We discuss how this resolves the limitations of previous works, as well as how specific refactorings can be defined as extensions to generic ones. The approach was implemented based on the Eclipse Modeling Framework (EMF) [3] and evaluated using multiple modelling languages and refactorings.
引用
收藏
页码:78 / 92
页数:15
相关论文
共 20 条
[1]  
[Anonymous], 2008, ECLIPSE MODELING FRA
[2]  
Biermann E, 2006, LECT NOTES COMPUT SC, V4199, P425
[3]  
Brosch P., 2009, OOPSLA COMPANION, P791
[4]  
Brosch P, 2009, LECT NOTES COMPUT SC, V5795, P271, DOI 10.1007/978-3-642-04425-0_20
[5]  
Fowler M., 2018, Refactoring: Improving the Design of Existing Code
[6]  
Gronback R. C., 2009, ECLIPSE MODELING PRO
[7]  
Heidenreich F, 2009, LECT NOTES COMPUT SC, V5562, P114, DOI 10.1007/978-3-642-02674-4_9
[8]  
KURTEV I, 2002, INT S DISTR OBJ APPL
[9]  
LAMMEL R, 2002, P 3 ACM SIGPLAN WORK
[10]  
Lehman M. M., 1980, Journal of Systems and Software, V1, P213, DOI 10.1016/0164-1212(79)90022-0