Uses of Class
com.google.common.reflect.TypeToken

Packages that use TypeToken
com.google.common.reflect This package contains utilities to work with Java reflection. 
 

Uses of TypeToken in com.google.common.reflect
 

Methods in com.google.common.reflect that return TypeToken
 TypeToken<?> TypeToken.getComponentType()
          Returns the array component type if this type represents an array (int[], T[], <? extends Map<String, Integer>[]> etc.), or else null is returned.
 TypeToken<? extends T> TypeToken.getSubtype(Class<?> subclass)
          Returns subtype of this with subclass as the raw class.
 TypeToken<? super T> TypeToken.getSupertype(Class<? super T> superclass)
          Returns the generic form of superclass.
static
<T> TypeToken<T>
TypeToken.of(Class<T> type)
          Returns an instance of type token that wraps type.
static TypeToken<?> TypeToken.of(Type type)
          Returns an instance of type token that wraps type.
 TypeToken<?> TypeToken.resolveType(Type type)
          Resolves the given type against the type context represented by this type.
<X> TypeToken<T>
TypeToken.where(TypeParameter<X> typeParam, Class<X> typeArg)
          Returns a new TypeToken where type variables represented by typeParam are substituted by typeArg.
<X> TypeToken<T>
TypeToken.where(TypeParameter<X> typeParam, TypeToken<X> typeArg)
          Returns a new TypeToken where type variables represented by typeParam are substituted by typeArg.
 

Methods in com.google.common.reflect that return types with arguments of type TypeToken
protected  Set<TypeToken<? super T>> TypeToken.TypeSet.delegate()
           
 

Methods in com.google.common.reflect with parameters of type TypeToken
 boolean TypeToken.isAssignableFrom(TypeToken<?> type)
          Returns true if this type is assignable from the given type.
<X> TypeToken<T>
TypeToken.where(TypeParameter<X> typeParam, TypeToken<X> typeArg)
          Returns a new TypeToken where type variables represented by typeParam are substituted by typeArg.
 



Copyright © 2010-2012. All Rights Reserved.