This is an implemenation of the design patterns from the seminal Design Patterns: Elements of Reusable Object-Oriented Software book by the "Gang of Four", Gamma et al., from 1994. The implementation is done with package templates for Java, and the source code is based on a corresponding implementation performed by Hannemann and Kiczales for their paper Design Pattern Implementation in Java and AspectJ: http://dl.acm.org/citation.cfm?id=582436. The code for the AspectJ implementation can be found here: http://www.cs.ubc.ca/labs/spl/projects/aodps.html.
We are grateful to Hannemann and Kiczales for making their source code publicly available.
Compile the code with the JPT compiler: https://github.com/uio-jpt/pt-compiler
Copyright 2012 © The SWAT project, OMS Group, Department of Informatics, University of Oslo.
The contents of this repository are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.