Try changing the code that is suppose use the transformation to
public class Foo
{
@foo.WithLogging
def f() { println "hello from f"}
....
I tried the same example and shared my experience here http://kartik-shah.blogspot.com/2009/03/groovy-16-ast-transformation-example_5323.html
peacefulfire
2009-03-26 21:34:54