Programming Support of Design Patterns with Compile-time Reflection

作者: Michiaki Tatsubori , Shigeru Chiba

DOI:

关键词:

摘要: This paper presents that compile-time MOPs can provide a general framework resolving implementation problems of design patterns. The come from the fact some programs written according to patterns are too complicated and errorprone their overall structure is not easy understand. problem be resolved by syntax extensions extended language constructs simplify description improve readability programs. In our approach, programmers use MOP write library which implements for supporting each pattern. We illustrate this approach with examples in OpenJava, self extensible version Java MOP. Adapter pattern Visitor used as examples.

参考文章(6)
Shigeru Chiba, Michiaki Tatsubori, Yet Another java.lang.Class european conference on object-oriented programming. pp. 372- 373 ,(1998) , 10.1007/3-540-49255-0_107
Jan Bosch, Language Support for Design Patterns TOOLS Europe ´96. ,(1996)
Richard Helm, John Vlissides, Ralph Johnson, Erich Gamma, Design Patterns: Elements of Reusable Object-Oriented Software ,(1994)
Theo Dirk Meijler, Serge Demeyer, Robert Engel, Making design patterns explicit in FACE: a frame work adaptive composition environment foundations of software engineering. ,vol. 22, pp. 94- 110 ,(1997) , 10.1145/267895.267905
J. Gil, D.H. Lorenz, Design patterns and language design IEEE Computer. ,vol. 31, pp. 118- 120 ,(1998) , 10.1109/2.660196
Albert Schappert, Peter Sommerlad, Wolfgang Pree, Automated support for software development with frameworks symposium on software reusability. ,vol. 20, pp. 123- 127 ,(1995) , 10.1145/211782.211824