addAnnotationDeclaration
Add a public annotation declaration to the types of this compilation unit
Return
the newly created class
Parameters
name
the annotation name
open fun addAnnotationDeclaration(name: String, modifiers: Array<Modifier.DefaultKeyword>): AnnotationDeclaration(source)
Add an annotation declaration to the types of this compilation unit
Return
the newly created class
Parameters
name
the annotation name
modifiers
the modifiers (like Modifier.PUBLIC)