TypeParameterResolver

A resolver for enclosing declarations' type parameters. Parent declarations can be anything with generics that child nodes declare as defined by KSType.arguments.

This is important for resolving inherited generics on child declarations, as KSP interop otherwise can't resolve them.

In general, you want to retrieve an instance of this via toTypeParameterResolver.

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val parametersMap: Map<String, TypeVariableName>

Functions

Link copied to clipboard
abstract operator fun get(index: String): TypeVariableName