buildAnnotationSpecs

fun TypeElement.buildAnnotationSpecs(annotationFilter: (ClassName) -> Boolean): List<AnnotationSpec>

Returns a list of annotations specs representing annotations on the given type element.

Parameters

annotationFilter

Return false to exclude annotations with the given class name.