to Type Name
fun KSType.toTypeName(typeParamResolver: TypeParameterResolver = TypeParameterResolver.EMPTY): TypeName
Returns the TypeName representation of this KSType.
Parameters
type Param Resolver
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
fun KSTypeArgument.toTypeName(typeParamResolver: TypeParameterResolver = TypeParameterResolver.EMPTY): TypeName
Returns a TypeName representation of this KSTypeArgument.
Parameters
type Param Resolver
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
fun KSTypeReference.toTypeName(typeParamResolver: TypeParameterResolver = TypeParameterResolver.EMPTY): TypeName
Returns a TypeName representation of this KSTypeReference.
Parameters
type Param Resolver
an optional resolver for enclosing declarations' type parameters. Parent declarations can be anything with generics that child nodes declare as defined by KSType.arguments.