class And Interface Declarations
fun <T : KoDeclarationCastProvider> List<T>.classAndInterfaceDeclarations(predicate: (KoClassAndInterfaceDeclaration) -> Boolean? = null): List<KoClassAndInterfaceDeclaration>
List containing class and interface declarations associated with declarations.
Return
A list of class and interface declarations that match the provided predicate, or all class and interface declarations if no predicate is provided.
Parameters
predicate
A function that defines the condition to be met by the class and interface declaration. If null, all class and interface declarations are included.