Design Patterns With AspectJ, Generics, and Reflective Programming
Over the past decade, there has been a lot of interest towards Aspect-Oriented Programming (AOP). Hannemann and Kiczales developed AspectJ implementations of the Gang-of-Four (GoF) design patterns. Their study was continued by Hachani, Bardou, Borella, and others. However, no one has tried to improve the implementations by using generics or reflective programming. This research faces up to this issue. As a result, highly reusable implementations of Decorator, Proxy, and Prototype are presented. Capturing design knowledge in a way that makes it possible for others to reuse it is the basic idea behind design patterns (Noda & Kishi 2001). The solutions proposed in the original design pattern literature (Gamma et al. 1995) are shaped by techniques as well as language deficiencies from the Object Oriented (OO) paradigm.