BaseAnnotationWriter

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
override fun write(instance: Symbol.Annotation.Instance<*, *>, isTopLevel: Boolean): Annotation