|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TypeLiteral | |
---|---|
com.google.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. |
com.google.inject.binder | Interfaces which make up Binder 's
expression language. |
com.google.inject.spi | Guice service provider interface |
Uses of TypeLiteral in com.google.inject |
---|
Methods in com.google.inject that return TypeLiteral | ||
---|---|---|
static
|
TypeLiteral.get(Class<T> type)
Gets type literal for the given Class instance. |
|
static TypeLiteral<?> |
TypeLiteral.get(Type type)
Gets type literal for the given Type instance. |
|
TypeLiteral<T> |
Key.getTypeLiteral()
Gets the key type. |
Methods in com.google.inject with parameters of type TypeLiteral | ||
---|---|---|
|
Binder.bind(TypeLiteral<T> typeLiteral)
See the EDSL examples at Binder . |
|
protected
|
AbstractModule.bind(TypeLiteral<T> typeLiteral)
|
|
|
Injector.findBindingsByType(TypeLiteral<T> type)
Returns all explicit bindings for type . |
|
static
|
Key.get(TypeLiteral<T> typeLiteral)
Gets a key for an injection type. |
|
static
|
Key.get(TypeLiteral<T> typeLiteral,
Annotation annotation)
Gets a key for an injection type and an annotation. |
|
static
|
Key.get(TypeLiteral<T> typeLiteral,
Class<? extends Annotation> annotationType)
Gets a key for an injection type and an annotation type. |
Method parameters in com.google.inject with type arguments of type TypeLiteral | |
---|---|
void |
Binder.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeConverter converter)
Binds a type converter. |
protected void |
AbstractModule.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeConverter converter)
|
Uses of TypeLiteral in com.google.inject.binder |
---|
Methods in com.google.inject.binder with parameters of type TypeLiteral | |
---|---|
ScopedBindingBuilder |
LinkedBindingBuilder.to(TypeLiteral<? extends T> implementation)
See the EDSL examples at Binder . |
Uses of TypeLiteral in com.google.inject.spi |
---|
Methods in com.google.inject.spi that return types with arguments of type TypeLiteral | |
---|---|
Matcher<? super TypeLiteral<?>> |
TypeConverterBinding.getTypeMatcher()
|
Methods in com.google.inject.spi with parameters of type TypeLiteral | |
---|---|
Object |
TypeConverter.convert(String value,
TypeLiteral<?> toType)
Converts a string value. |
static InjectionPoint |
InjectionPoint.forConstructorOf(TypeLiteral<?> type)
Returns a new injection point for the injectable constructor of type . |
static Set<InjectionPoint> |
InjectionPoint.forInstanceMethodsAndFields(TypeLiteral<?> type)
Returns all instance method and field injection points on type . |
static Set<InjectionPoint> |
InjectionPoint.forStaticMethodsAndFields(TypeLiteral type)
Returns all static method and field injection points on type . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |