全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

Preserving Design Patterns using Source Code Annotations

Keywords: design patterns , annotations , Java , design pattern structure , structural checking

Full-Text   Cite this paper   Add to My Lib

Abstract:

Design patterns are abstract descriptions of established time-tested solutions to often recurring problems. They have proven to be very useful for the design of object-oriented systems as they elevate the level of abstractions by capturing a relationship among the language-level abstraction mechanisms. However, the traceability of a design pattern in source code is often lost over the time due to insufficient or out of date documentation. Moreover, the original intentions captured by design pattern may get lost as well due to inappropriate source code modifications. This paper presents an approach to preserving the correct form of design pattern application to source code during the whole process of system evolution by annotating the language constructs constituting design pattern. Annotations prescribe the correct structure of annotated constructs and if this does not comply, the programmer is notified that the pattern is broken and is given the recommendations how to fix it. For the purpose of defining correct form of pattern constructs, specific language is proposed.

Full-Text

comments powered by Disqus

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133

WeChat 1538708413