TypedParameterResolver

@InterfacedService(acceptMultiple = true)
abstract class TypedParameterResolver<T : TypedParameterResolver<T, R>, R : Any>(val type: KType) : ParameterResolver<T, R> (source)

Base class for parameter resolvers using static types.

This is best suited if you want a simple resolver for a specific type, such as [Map]<Int, String]> for example.

Your implementation needs to be annotated with @Resolver, unless this is an output of a ParameterResolverFactory.

Parameters

T

Type of the implementation

R

Type of the returned resolved objects

See also

Constructors

Link copied to clipboard
constructor(type: KType)

Properties

Link copied to clipboard
val type: KType

Functions

Link copied to clipboard
open override fun toString(): String