InjectableProvider

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class InjectableProvider(val scope: Scope = Scope.BY_APP, val alias: String = "", val propagation: Propagation = Propagation.NONE, val exclude: KClass<*> = arrayOf())

Annotation to define a class that provides an injectable class This is normally used with external classes, where you don't have the source code to add @Injectable annotation By default, only the provided class is injectable (Propagation.NONE) Also, if not defined, takes the scope BY_APP by default

Author

Pau Corbella

Since

1.0.0

Properties

Link copied to clipboard
Link copied to clipboard
val exclude: Array<out KClass<*>>
Link copied to clipboard
Link copied to clipboard