readAnnotation

fun <S : Symbol.Annotation<S, I>, I : Symbol.Annotation.Instance<S, I>> IrConstructorCall.readAnnotation(annotation: S): I?(source)

Read an annotation instance from a IrConstructorCall for an annotation. Will return null if the annotation is not of type annotation.