@Target(value={CONSTRUCTOR,METHOD,TYPE})
public @interface Scope
Scope
is used to annotate constructors, methods, and classes that provide dependencies
for injection. Scope
annotation has one optional annotation parameter of type Class
that declares the DependencyScope
for which a DependencyProvider
is code generated
by the Fuusio Annotation Processor.Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?> |
value |