toAnnotationSpec

fun <S : Symbol.Annotation<S, I>, I : Symbol.Annotation.Instance<S, I>> I.toAnnotationSpec(useSiteTarget: AnnotationSpec.UseSiteTarget? = null): AnnotationSpec(source)

Create an AnnotationSpec from an annotation instance.