Uses of Class
com.google.inject.TypeLiteral

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. 
 

Uses of TypeLiteral in com.google.inject
 

Methods in com.google.inject that return TypeLiteral
static
<T> TypeLiteral<T>
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
<T> AnnotatedBindingBuilder<T>
Binder.bind(TypeLiteral<T> typeLiteral)
          Creates a binding to a type.
protected
<T> AnnotatedBindingBuilder<T>
AbstractModule.bind(TypeLiteral<T> typeLiteral)
           
<T> List<Binding<T>>
Injector.findBindingsByType(TypeLiteral<T> type)
          Finds all bindings to the given type.
static
<T> Key<T>
Key.get(TypeLiteral<T> typeLiteral)
          Gets a key for an injection type.
static
<T> Key<T>
Key.get(TypeLiteral<T> typeLiteral, Annotation annotation)
          Gets a key for an injection type and an annotation.
static
<T> Key<T>
Key.get(TypeLiteral<T> typeLiteral, Class<? extends Annotation> annotationType)
          Gets a key for an injection type and an annotation type.
 

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)
          Binds to another binding with the specified type.
 



Copyright 2007 Google Inc. All Rights Reserved.