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