with Class Or Interface Declaration
fun <T : KoDeclarationCastProvider> List<T>.withClassOrInterfaceDeclaration(predicate: (KoClassAndInterfaceDeclaration) -> Boolean? = null): List<T>
List containing declarations with the specified class or interface declaration.
Return
A list containing declarations with the specified class or interface declaration.
Parameters
predicate
The predicate function to determine if a class or interface declaration satisfies a condition.