W3cubDocs

/Kotlin

annotationClass

val <T : Annotation> T.annotationClass: KClass<out T>

Platform and version requirements: JVM

Returns a KClass instance corresponding to the annotation type of this annotation.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/annotation-class.html