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