Design Pattern Support Based on the Source Code Annotations and Feature Models

Nowadays there exist many approaches to support design pattern instantiation, evolution, etc., but most of the approaches focus mainly at the design level (i.e. model). By the transition to the source code level the pattern instances become almost invisible in the huge amount of source code lines. The goal of this paper is to present our method supporting design pattern instantiation, evolution and identification in the source code. The method is based on source code annotations and feature models of individual patterns. The method does not require a manual annotation of the source code by a human, instead the method works on the idea of architectural and design information propagation and expansion from higher levels of abstraction (i.e. models) into the source code. In this paper we also present a method defining how to connect the necessary knowledge to the model and the source code.

[1]  Kevin Lano,et al.  Slicing of UML models using model transformations , 2010, MODELS'10.

[2]  Vladimír Marko Template Based, Designer Driven Design Pattern Instantiation Support , 2004, ADBIS.

[3]  Klaus Meffert Supporting design patterns with annotations , 2006, 13th Annual IEEE International Symposium and Workshop on Engineering of Computer-Based Systems (ECBS'06).

[4]  Lakhmi C. Jain,et al.  Knowledge-Based Intelligent Information and Engineering Systems , 2004, Lecture Notes in Computer Science.

[5]  Narayan C. Debnath,et al.  Defining Patterns Using UML Profiles , 2006, IEEE International Conference on Computer Systems and Applications, 2006..

[6]  Danko Basch,et al.  Ontology-Based Design Pattern Recognition , 2008, KES.

[7]  Peter Kajsa,et al.  Design Patterns Instantiation Based on Semantics and Model Transformations , 2009, SOFSEM.

[8]  Ralph Johnson,et al.  design patterns elements of reusable object oriented software , 2019 .

[9]  Valentino Vranic,et al.  Integrating Feature Modeling into UML , 2006, NODe/GSEM.

[10]  Maritta Heisel,et al.  Problem-Oriented Documentation of Design Patterns , 2009, FASE.

[11]  Perdita Stevens,et al.  Modelling Recursive Calls with UML State Diagrams , 2003, FASE.

[12]  Bernhard Rumpe,et al.  SOFSEM 2010: Theory and Practice of Computer Science, 36th Conference on Current Trends in Theory and Practice of Computer Science, Spindleruv Mlýn, Czech Republic, January 23-29, 2010. Proceedings , 2010, SOFSEM.

[13]  Steffen Zschaler,et al.  Finding the pattern you need: the design pattern intent ontology , 2007, MODELS'07.

[14]  Ghulam Rasool,et al.  Design pattern recovery based on annotations , 2010, Adv. Eng. Softw..

[15]  Kang Zhang,et al.  A model transformation approach for design pattern evolutions , 2006, 13th Annual IEEE International Symposium and Workshop on Engineering of Computer-Based Systems (ECBS'06).