with Type Parameters
List containing declarations with any type parameter.
Return
A list containing declarations with any type parameter.
fun <T : KoTypeParameterProvider> List<T>.withTypeParameters(predicate: (List<KoTypeParameterDeclaration>) -> Boolean): List<T>
List containing declarations with type parameter declarations satisfying the predicate.
Return
A list containing declarations with type parameter declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of type parameter declarations.