Spoon: annotation-driven program transformation --- the AOP case

Pawlak, Renaud. Spoon: annotation-driven program transformation --- the AOP case. In AOMD '05: Proceedings of the 1st workshop on Aspect oriented middleware development. ACM, New York, NY, USA, 2005. [doi]

Abstract

This paper presents Spoon and its AOP extension. Spoon is a pure Java 5 framework for implementing source-level and annotation-driven program transformations. It aims to be a powerful tool to build and integrate middleware. Spoon allows for the definition of program processors and annotation processors that use Compile-Time reflection, which is achieved with an extension of Sun’s APT. In particular, Spoon provides an AOP extension under the form of a set of annotation processors. With Spoon, it is possible to do comprehensive and efficient AOP in pure Java, without relying on any specific language or IDE support.