Have you ever thought of the Java compiler checking more than it does now? Have
you ever thought of code being automatically generated or validated by the
compiler instead of being written and maintained manually?
Spoon is a framework that allows you to enhance the Java semantics through
static analysis and generative programming. With Spoon, you can write
compilation components called "Spoonlets", which can be deployed in Eclipse
using the SpoonJDT plugin. Spoonlets can provide generic validations or
transformations, which are not provided from scratch by the compiler, such as
the ones provided by Findbugs project (http://findbugs.sourceforge.net/).
Spoonlets can also implement validations and transformations to support your
favorite frameworks (SAX, Struts, Hibernate ...) in order to simplify their use
and avoid common mistakes. In this tutorial, we learn how to use and create new
Spoonlets, which will help not only to increase the quality of your own Java
developments, but also of the developments of the programmers working with you.
Renaud Pawlak is an assistant Professor in Software Engineering and Computer Science at RPI. His main topic of research is Software Quality and Static Analysis of Object-Oriented Programs.
In 2002 he got a Computer Science PhD from the CNAM, Paris, France. Besides working at RPI, he is also an INRIA Researcher in the Jacquard project.