Package io.activej.inject.annotation
Annotation Interface Provides
This annotation is part of the provider method DSL, it allows you to build bindings and even a subset of
generators using methods declared in your modules.
Method return type and method qualifier annotation form a key
that the resulting binding is bound to, its parameter types and their qualifier annotations form
binding dependencies and its body forms the factory for the binding.
Note that provider methods are called using reflection, so if you need the best performance
for some frequently-entered scopes consider using less declarative but reflection-free
ModuleBuilder.bind(Key) binding DSL
- See Also: