//Extensions for Dagger Hilt/it.czerwinski.android.hilt.annotations/TestBoundTo
TestBoundTo
[jvm] @Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class TestBoundTo(supertype: KClass<>, component: KClass<>)
Marks test implementation bound to the given supertype in the given component.
Any annotations annotated with @Scope or @Qualifier will also annotate the resulting @Binds method.
Since
1.1.0
Constructors
Name | Summary |
---|---|
TestBoundTo | [jvm] fun TestBoundTo(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. |