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
write
methods.Assembling the annotation from the raw arguments using assembleAnnotation