winter / io.jentz.winter.inject / FactoryType

FactoryType

@Target([AnnotationTarget.CLASS]) annotation class FactoryType

Change the factory type to one of the super types of the annotated classes.

Parameters

value - Register the annotated class with one of its super types.

Constructors

<init>

FactoryType(value: KClass<*>)

Change the factory type to one of the super types of the annotated classes.

Properties

value

val value: KClass<*>

Register the annotated class with one of its super types.