toIrAnnotation

fun <S : Symbol.Annotation<S, I>, I : Symbol.Annotation.Instance<S, I>> I.toIrAnnotation(context: IrPluginContext, startOffset: Int = UNDEFINED_OFFSET, endOffset: Int = UNDEFINED_OFFSET, origin: IrStatementOrigin? = null, source: SourceElement? = null): IrConstructorCall(source)

Create an annotation IrConstructorCall from an annotation instance.