public final class ConstantBindingBuilderImpl<T> extends AbstractBindingBuilder<T> implements AnnotatedConstantBindingBuilder, ConstantBindingBuilder
ANNOTATION_ALREADY_SPECIFIED, binder, BINDING_TO_NULL, CONSTANT_VALUE_ALREADY_SET, elements, IMPLEMENTATION_ALREADY_SET, NULL_KEY, position, SCOPE_ALREADY_SET, SINGLE_INSTANCE_AND_SCOPE| コンストラクタと説明 |
|---|
ConstantBindingBuilderImpl(Binder binder,
List<Element> elements,
Object source) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ConstantBindingBuilder |
annotatedWith(Annotation annotation)
See the EDSL examples at
Binder. |
ConstantBindingBuilder |
annotatedWith(Class<? extends Annotation> annotationType)
See the EDSL examples at
Binder. |
void |
to(boolean value)
Binds constant to the given value.
|
void |
to(char value)
Binds constant to the given value.
|
void |
to(Class<?> value)
Binds constant to the given value.
|
void |
to(double value)
Binds constant to the given value.
|
<E extends Enum<E>> |
to(E value)
Binds constant to the given value.
|
void |
to(float value)
Binds constant to the given value.
|
void |
to(int value)
Binds constant to the given value.
|
void |
to(long value)
Binds constant to the given value.
|
void |
to(short value)
Binds constant to the given value.
|
void |
to(String value)
Binds constant to the given value.
|
String |
toString() |
annotatedWithInternal, annotatedWithInternal, asEagerSingleton, checkNotAnnotated, checkNotScoped, checkNotTargetted, getBinding, in, in, keyTypeIsSet, setBindingpublic ConstantBindingBuilder annotatedWith(Class<? extends Annotation> annotationType)
AnnotatedConstantBindingBuilderBinder.annotatedWith インタフェース内 AnnotatedConstantBindingBuilderpublic ConstantBindingBuilder annotatedWith(Annotation annotation)
AnnotatedConstantBindingBuilderBinder.annotatedWith インタフェース内 AnnotatedConstantBindingBuilderpublic void to(String value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(int value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(long value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(boolean value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(double value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(float value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(short value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(char value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic void to(Class<?> value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderpublic <E extends Enum<E>> void to(E value)
ConstantBindingBuilderto インタフェース内 ConstantBindingBuilderCopyright © 2009–2016. All rights reserved.