MetalessInjectionScope
An injection scope without meta-related operations. Because InjectionScope.meta
itself returns (in theory) an InjectionScope, people may do scope.meta.meta.meta.meta...
to infinity and beyond, which does not make sense. In order to prevent this, InjectionScope.meta
instead returns a MetalessInjectionScope.
Functions
Create an injector for the given identifier. The behavior of the injection depends on the injection environment, but this is guaranteed to return an element of type T.
Create an injector for the given identifier. If such an identifier cannot be found within the environment, returns null (unlike inject which throws a ComponentNotFoundException).
Inheritors
Extensions
Create an injector for the given class, turned to an identifier, and an optional qualifier. See InjectionScope.inject for more information.
Create an injector for the given class and optional qualifier. If such an identifier cannot be found within the environment, returns null (unlike other functions which throw a ComponentNotFoundException).