@Target([AnnotationTarget.CLASS]) annotation class InjectConstructor
Annotation stolen from Toothpick that tells the winter-compiler that the first and only constructor of an annotated class should be treated like it were annotated with javax.inject.Inject.
value
- Allows to register the annotated class with one of its super types.
InjectConstructor(value: KClass<*> = Nothing::class)
Annotation stolen from Toothpick that tells the winter-compiler that the first and only constructor of an annotated class should be treated like it were annotated with javax.inject.Inject. |
val value: KClass<*>
Allows to register the annotated class with one of its super types. |