//Extensions for Dagger Hilt/it.czerwinski.android.hilt.annotations/BoundTo
BoundTo
[jvm] @Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class BoundTo(supertype: KClass<>, component: KClass<>)
Marks implementation bound to the given supertype in the given component.
Any annotations annotated with @Scope or @Qualifier will also annotate the resulting @Binds method.
Constructors
| Name | Summary |
|---|---|
| BoundTo | [jvm] fun BoundTo(supertype: KClass<>, component: KClass<> = SingletonComponent::class) |
Functions
| Name | Summary |
|---|---|
| equals | [jvm] Content open operator fun equals(other: Any?): Boolean |
| hashCode | [jvm] Content open fun hashCode(): Int |
| toString | [jvm] Content open fun toString(): String |
Properties
| Name | Summary |
|---|---|
| component | [jvm] val component: KClass<*>Hilt component in which the binding should be installed. |
| supertype | [jvm] val supertype: KClass<*>Supertype to which the implementation should be bound. |