michaelrocks
val annotation = javaClass.getDeclaredField(annotationName).getAnnotation(annotationClass)
annotation.annotationType()