public class AnnotationReader
extends org.objectweb.asm.ClassVisitor
This class reads a classfile from a byte array and pulls out the value of the class annotation
for APIVersion, which can then be retrieved by a call to getVersion().
Hopefully the use of ClassReader in this implementation is not too expensive. I suspect it is not
since EmptyVisitor is just a bag of empty methods so shouldn't cost too much. If it turns out to
cost too much, we will want to implement a special purpose ClassReader that only reads out the
APIVersion annotation I think.