TypeParameterResolver

interface 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

Companion
Link copied to clipboard
object Companion

Functions

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

Properties

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