annotation

fun <T> annotation(type: AnnotationType<T>): T?

Get the value of the given annotation type, if any.