FactoryDeclaration

class FactoryDeclaration<T : Any>(actualIdentifier: Identifier<T>, makerIdentifier: Identifier<InjectableFactory<T>>) : ResolvableDeclaration<T>

A declaration that declares a resolver for elements generated by a factory.

Constructors

Link copied to clipboard
fun <T : Any> FactoryDeclaration(actualIdentifier: Identifier<T>, makerIdentifier: Identifier<InjectableFactory<T>>)

Functions

Link copied to clipboard
open override fun buildResolver(): IdentifierResolver<T>

Create the resolver.

Properties

Link copied to clipboard
val identifier: Identifier<T>

The identifier for this declaration.

Link copied to clipboard
val tags: MutableList<DeclarationTag>

Tags attached to this declaration.