toTypeVariableName

fun KSTypeParameter.toTypeVariableName(typeParamResolver: TypeParameterResolver = TypeParameterResolver.EMPTY): TypeVariableName

Returns a TypeVariableName representation of this KSTypeParameter.

Parameters

typeParamResolver

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

See also