if (clazz.isAnnotation())
{
@SuppressWarnings("unchecked")
Class<? extends Annotation> annotationClass = (Class<? extends Annotation>) clazz;
AnnotationFilter filter = null;
Annotation[] annos = clazz.getDeclaredAnnotations();
for (int i = 0; i < annos.length; i++)
{
Annotation anno = annos[i];
if (anno instanceof Target)