Ciência_Iscte
Publicações
Descrição Detalhada da Publicação
Java extensions for design pattern instantiation
Software reuse: Bridging with social-awareness. Lecture Notes in Computer Science
Ano (publicação definitiva)
2016
Língua
Inglês
País
Suíça
Mais Informação
Web of Science®
Scopus
Esta publicação não está indexada na Scopus
Google Scholar
Esta publicação não está indexada no Overton
Abstract/Resumo
Design patterns are not easily traceable in source code, leading to maintainability and comprehension issues, while the instantiation of certain patterns involves generalizable boiler-plate code. We provide high-level language constructs addressing design patterns that transform source code by injecting a substantial part of their implementation at compile time. We developed proof of concept extensions addressing widely used design patterns, namely Singleton, Visitor, Decorator, and Observer, using annotations as the means to extend Java. We describe our Java annotations to support these design patterns and the associated source code transformations, demonstrating that it is possible to significantly reduce the necessary code to instantiate a pattern through the use of high-level constructs.
Agradecimentos/Acknowledgements
--
Palavras-chave
Design pattern,Abstract class,Language construct,Language extension,Observer pattern
Classificação Fields of Science and Technology
- Matemáticas - Ciências Naturais
- Ciências da Computação e da Informação - Ciências Naturais
Registos de financiamentos
| Referência de financiamento | Entidade Financiadora |
|---|---|
| UID/MULTI/0446/2013 | Fundação para a Ciência e a Tecnologia |
English