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