Modifier and Type | Method and Description |
---|---|
LenskitBinding<T> |
exclude(Class<?> exclude) |
LenskitBinding<T> |
shared() |
void |
toInstance(T instance)
Explicitly bind to an instance.
|
LenskitBinding<T> |
unqualified() |
LenskitBinding<T> |
unshared() |
LenskitBinding<T> |
withAnyQualifier() |
LenskitBinding<T> |
withQualifier(Annotation annot) |
LenskitBinding<T> |
withQualifier(Class<? extends Annotation> qualifier) |
fixed, to, to, to, toNull, toNull, toProvider, toProvider, toSatisfaction
void toInstance(@Nullable T instance)
instance
- The instance to bind to.LenskitBinding<T> withQualifier(@Nonnull Class<? extends Annotation> qualifier)
withQualifier
in interface Binding<T>
LenskitBinding<T> withQualifier(@Nonnull Annotation annot)
withQualifier
in interface Binding<T>
LenskitBinding<T> withAnyQualifier()
withAnyQualifier
in interface Binding<T>
LenskitBinding<T> unqualified()
unqualified
in interface Binding<T>
LenskitBinding<T> exclude(@Nonnull Class<?> exclude)
LenskitBinding<T> shared()
LenskitBinding<T> unshared()