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

Package it.czerwinski.android.hilt.annotations

[jvm]

Additional annotations for Dagger Hilt

Types

Name Summary
Bound [jvm]
Content
@Target(allowedTargets = [AnnotationTarget.CLASS])

annotation class Bound(component: KClass<*>)
More info
Marks implementation bound to the supertype of the annotated class in the given component.


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

annotation class BoundTo(supertype: KClass<>, component: KClass<>)
More info
Marks implementation bound to the given supertype in the given component.


FactoryMethod [jvm]
Content
@Target(allowedTargets = [AnnotationTarget.FUNCTION])

annotation class FactoryMethod(component: KClass<*>)
More info
Marks factory method for the class returned by the annotated function.


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

annotation class TestBound(component: KClass<*>)
More info
Marks test implementation bound to the supertype of the annotated class in the given component.


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

annotation class TestBoundTo(supertype: KClass<>, component: KClass<>)
More info
Marks test implementation bound to the given supertype in the given component.


TestFactoryMethod [jvm]
Content
@Target(allowedTargets = [AnnotationTarget.FUNCTION])

annotation class TestFactoryMethod(component: KClass<*>)
More info
Marks test factory method for the class returned by the annotated function.