Back to Search
Start Over
Java Extensions for Design Pattern Instantiation
- Source :
- Lecture Notes in Computer Science ISBN: 9783319351216, ICSR
- Publication Year :
- 2016
- Publisher :
- Springer International Publishing, 2016.
-
Abstract
- 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.
- Subjects :
- Source code
Computer science
Programming language
media_common.quotation_subject
020207 software engineering
02 engineering and technology
Observer pattern
computer.software_genre
Real time Java
020204 information systems
Software design pattern
0202 electrical engineering, electronic engineering, information engineering
Decorator pattern
computer
Java annotation
Compile time
Java Modeling Language
media_common
Subjects
Details
- ISBN :
- 978-3-319-35121-6
- ISBNs :
- 9783319351216
- Database :
- OpenAIRE
- Journal :
- Lecture Notes in Computer Science ISBN: 9783319351216, ICSR
- Accession number :
- edsair.doi...........0b6026a47bd1236c55e2f121576e90ba