with Local Classes
List containing declarations with any local class.
Return
A list containing declarations with any local class.
fun <T : KoLocalClassProvider> List<T>.withLocalClasses(predicate: (List<KoClassDeclaration>) -> Boolean): List<T>
List containing declarations with local class declarations satisfying the predicate.
Return
A list containing declarations with local class declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of local class declarations.