Typed Parameter Resolver Factory
abstract class TypedParameterResolverFactory<out T : IParameterResolver<T>>(resolverType: KClass<out T>, val type: KType) : ParameterResolverFactory<T> (source)
Specialization of ParameterResolverFactory for a specific KType. Java users can supply a KotlinTypeToken instead.
Your implementation needs to be annotated with @ResolverFactory.
You can also create a service factory using resolverFactory.
Parameters
resolver Type
Class of the returned parameter resolver
type
Type of the objects returned by the parameter resolver
T
Type of the returned parameter resolver
See also
Constructors
Properties
Functions
Link copied to clipboard
Returns a ParameterResolver for the given parameter.
Link copied to clipboard
Determines if a given parameter is supported, only one factory must return true
.