javapoet-dsl / com.mostlycertain.javapoetdsl / com.squareup.javapoet.AnnotationSpec / className

className

val AnnotationSpec.className: ClassName

Type of the annotation.

This is AnnotationSpec.type cast to ClassName because an annotation can not be anything but a class name.