Binder.
Constructing an AbstractBindingBuilder will create a new binding and add it into the Binder.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| protected final Binder | binder
The binder that the new binding will be added to. |
| private BindingImpl | |
| public static final String | |
| public static final String | |
| protected List | |
| public static final String | |
| protected static final Key | |
| protected int | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BindingImpl | annotatedWithInternal(Class<? extends Annotation> annotationType)
Sets the binding to a copy with the specified annotation on the bound key |
| protected BindingImpl | annotatedWithInternal(Annotation annotation)
Sets the binding to a copy with the specified annotation on the bound key |
| public void | |
| protected void | |
| protected void | |
| protected void | |
| protected BindingImpl | |
| public void | |
| public void | |
| protected boolean | |
| protected BindingImpl |
| ANNOTATION_ALREADY_SPECIFIED | back to summary |
|---|---|
| public static final String ANNOTATION_ALREADY_SPECIFIED | |
| binder | back to summary |
|---|---|
| protected final Binder binder The binder that the new binding will be added to. | |
| binding | back to summary |
|---|---|
| private BindingImpl<T> binding | |
| BINDING_TO_NULL | back to summary |
|---|---|
| public static final String BINDING_TO_NULL | |
| CONSTANT_VALUE_ALREADY_SET | back to summary |
|---|---|
| public static final String CONSTANT_VALUE_ALREADY_SET | |
| elements | back to summary |
|---|---|
| protected List<Element> elements The list of elements stored inside the | |
| IMPLEMENTATION_ALREADY_SET | back to summary |
|---|---|
| public static final String IMPLEMENTATION_ALREADY_SET | |
| NULL_KEY | back to summary |
|---|---|
| protected static final Key<?> NULL_KEY | |
| position | back to summary |
|---|---|
| protected int position The index of the new binding in | |
| SCOPE_ALREADY_SET | back to summary |
|---|---|
| public static final String SCOPE_ALREADY_SET | |
| SINGLE_INSTANCE_AND_SCOPE | back to summary |
|---|---|
| public static final String SINGLE_INSTANCE_AND_SCOPE | |
| AbstractBindingBuilder | back to summary |
|---|---|
| public AbstractBindingBuilder(Binder binder, List<Element> elements, Object source, Key<T> key) | |
| annotatedWithInternal | back to summary |
|---|---|
| protected BindingImpl Sets the binding to a copy with the specified annotation on the bound key | |
| annotatedWithInternal | back to summary |
|---|---|
| protected BindingImpl Sets the binding to a copy with the specified annotation on the bound key | |
| asEagerSingleton | back to summary |
|---|---|
| public void asEagerSingleton() | |
| checkNotAnnotated | back to summary |
|---|---|
| protected void checkNotAnnotated() | |
| checkNotScoped | back to summary |
|---|---|
| protected void checkNotScoped() | |
| checkNotTargetted | back to summary |
|---|---|
| protected void checkNotTargetted() | |
| getBinding | back to summary |
|---|---|
| protected BindingImpl | |
| in | back to summary |
|---|---|
| public void in(final Class<? extends Annotation> scopeAnnotation) | |
| in | back to summary |
|---|---|
| public void in(final Scope scope) | |
| keyTypeIsSet | back to summary |
|---|---|
| protected boolean keyTypeIsSet() | |
| setBinding | back to summary |
|---|---|
| protected BindingImpl | |