toAnnotationSpec

fun KSAnnotation.toAnnotationSpec(omitDefaultValues: Boolean = false): AnnotationSpec

Returns an AnnotationSpec representation of this KSAnnotation instance.

Parameters

omitDefaultValues

omit defining default values when true