with Type Parameter Declaration
fun <T : KoDeclarationCastProvider> List<T>.withTypeParameterDeclaration(predicate: (KoTypeParameterDeclaration) -> Boolean? = null): List<T>
List containing declarations with the specified type parameter declaration.
Return
A list containing declarations with the specified type parameter declaration.
Parameters
predicate
The predicate function to determine if a type parameter declaration satisfies a condition.