with Constructors
List containing declarations with constructor.
Return
A list containing declarations with the constructor.
fun <T : KoConstructorProvider> List<T>.withConstructors(predicate: (List<KoConstructorDeclaration>) -> Boolean): List<T>
List containing declarations with constructor declarations satisfying the predicate.
Return
A list containing declarations with constructor declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of constructor declarations.