with All Local Classes
fun <T : KoLocalClassProvider> List<T>.withAllLocalClasses(predicate: (KoClassDeclaration) -> Boolean): List<T>
List containing declarations that have all local classes satisfying the provided predicate.
Return
A filtered list containing declarations with all local classes satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by all local class declarations.