How to test whether an object's class is annotated with some specific annotation?
===

I've got test whether an object's class is annotated with some specific annotation, is there any way to accomplish this?