with Secondary Constructors
List containing declarations that have secondary constructors.
Return
A list containing declarations with secondary constructor(s).
fun <T : KoSecondaryConstructorsProvider> List<T>.withSecondaryConstructors(predicate: (List<KoSecondaryConstructorDeclaration>) -> Boolean): List<T>
List containing declarations with secondary constructor declarations satisfying the predicate.
Return
A list containing declarations with secondary constructor declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of secondary constructor declarations.