Design pattern implementation in Java and aspectJ

Jan Hannemann, Gregor Kiczales. Design pattern implementation in Java and aspectJ. In OOPSLA. pages 161-173, 2002. [doi]

Abstract

AspectJ implementations of the GoF design patterns show modularity improvements in 17 of 23 cases. These improvements are manifested in terms of better code locality, reusability, composability, and (un)pluggability.The degree of improvement in implementation modularity varies, with the greatest improvement coming when the pattern solution structure involves crosscutting of some form, including one object playing multiple roles, many objects playing one role, or an object playing roles in multiple pattern instances.