//Extensions for Dagger Hilt/it.czerwinski.android.hilt.annotations/Bound

Bound

[jvm] @Target(allowedTargets = [AnnotationTarget.CLASS])

annotation class Bound(component: KClass<*>)

Marks implementation bound to the supertype of the annotated class in the given component.

Annotated implementation must have exactly one direct supertype (excluding java.lang.Object).

Any annotations annotated with @Scope or @Qualifier will also annotate the resulting @Binds method.

Since

1.1.0

Constructors

Name Summary
Bound [jvm] fun Bound(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.