michaelrocks
02/15/2016, 10:17 AMAnnotation
to Kotlin Annotation
, which doesn’t have this method. But Kotlin Annotation
has an extension field annotationClass
. I assume it’s the same as annotationType()
but it requires Kotlin reflection library.