Package | Description |
---|---|
com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
|
com.google.inject.internal |
Guice (sounds like "juice")
|
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<TypeConverterBinding> |
Injector.getTypeConverterBindings()
Returns a set containing all type converter bindings in the injector.
|
Modifier and Type | Field and Description |
---|---|
(package private) TypeConverterBinding |
InjectorImpl.ConvertedConstantBindingImpl.typeConverterBinding |
Modifier and Type | Field and Description |
---|---|
private java.util.List<TypeConverterBinding> |
InjectorBindingData.converters |
Modifier and Type | Method and Description |
---|---|
TypeConverterBinding |
InjectorBindingData.getConverter(java.lang.String stringValue,
TypeLiteral<?> type,
Errors errors,
java.lang.Object source) |
TypeConverterBinding |
InjectorImpl.ConvertedConstantBindingImpl.getTypeConverterBinding() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<TypeConverterBinding> |
InjectorBindingData.getConvertersThisLevel() |
java.util.Set<TypeConverterBinding> |
InjectorImpl.getTypeConverterBindings() |
java.util.Set<TypeConverterBinding> |
InternalInjectorCreator.ToolStageInjector.getTypeConverterBindings() |
Modifier and Type | Method and Description |
---|---|
void |
InjectorBindingData.addConverter(TypeConverterBinding typeConverterBinding) |
Errors |
Errors.ambiguousTypeConversion(java.lang.String stringValue,
java.lang.Object source,
TypeLiteral<?> type,
TypeConverterBinding a,
TypeConverterBinding b) |
Errors |
Errors.conversionError(java.lang.String stringValue,
java.lang.Object source,
TypeLiteral<?> type,
TypeConverterBinding typeConverterBinding,
java.lang.RuntimeException cause) |
Errors |
Errors.conversionTypeError(java.lang.String stringValue,
java.lang.Object source,
TypeLiteral<?> type,
TypeConverterBinding typeConverterBinding,
java.lang.Object converted) |
Errors |
Errors.converterReturnedNull(java.lang.String stringValue,
java.lang.Object source,
TypeLiteral<?> type,
TypeConverterBinding typeConverterBinding) |
java.lang.Boolean |
TypeConverterBindingProcessor.visit(TypeConverterBinding command) |
Constructor and Description |
---|
ConvertedConstantBindingImpl(InjectorImpl injector,
Key<T> key,
T value,
Binding<java.lang.String> originalBinding,
TypeConverterBinding typeConverterBinding) |
Modifier and Type | Method and Description |
---|---|
TypeConverterBinding |
ConvertedConstantBinding.getTypeConverterBinding()
Returns the type converter binding used to convert the constant.
|
Modifier and Type | Method and Description |
---|---|
V |
DefaultElementVisitor.visit(TypeConverterBinding typeConverterBinding) |
V |
ElementVisitor.visit(TypeConverterBinding binding)
Visit a registration of type converters for matching target types.
|