Aspectual Methods Abstract. By focussing on a limited, but commonly occuring set of aspects, we are able to provide a Java library that allows us to write aspectual methods whose ad-hoc implementation cuts across several classes. We present the key elements of the library and we connect aspectual methods with the AspectJ terminology.
Several examples demonstrate the advantages and limitations of aspectual methods.
We hope that aspect-oriented programming will be better understood if it can be practiced, even in limited form, directly in Java. This paper shows one way how to achieve this through the DJ library.