It is a snapshot...apologies, this is my bad. I was supposed to at least tag Javassist's CVS when I released the last AOP, but I didn't.
FYI, you have to use fully-qualified class names with the annotation compiler when referencing Enums or classes.
My problem was that the klass parameter was referring to another class instead of the annotation class. I have no NPE anymore.
About the fully-qualified names: Will this limitation be lifted in a future release ? As a programmer I would expect AOP to use the same namespace rules as the Java compiler.
I don't think this will ever be added. Its not on our TODO list. By the time we'd have the cycles to implement this, 5.0 may already be widely adopted, then again, maybe not...
If you were interested in implementing this, please do. I would grant you CVS access if you did implement it.