toTypeParameterResolver
fun List<KSTypeParameter>.toTypeParameterResolver( parent: TypeParameterResolver? = null, sourceTypeHint: String = "<unknown>"): TypeParameterResolver
Returns a TypeParameterResolver for this list of KSTypeParameters for use with enclosed declarations.
Parameters
parent
the optional parent resolver, if any. An example of this is cases where you might create a resolver for a KSFunction and supply a parent resolved from the enclosing KSClassDeclaration.
sourceTypeHint
an optional hint for error messages. Unresolvable parameter IDs will include this hint in the thrown error's message.