BaseAnnotationWriter
abstract class BaseAnnotationWriter<out Annotation, Argument : Any> : AnnotationWriter<Annotation> (source)
A base implementation of AnnotationWriter that handles the argument writing and annotation assembly in two steps. Mirrors BaseAnnotationArgumentProducer.
An annotation is written in two steps:
Getting the raw value (of Argument type) of each argument using one of the
writemethods.Assembling the annotation from the raw arguments using assembleAnnotation
Functions
Link copied to clipboard
override fun write(instance: Symbol.Annotation.Instance<*, *>, isTopLevel: Boolean = true): Annotation