Uses of Class
com.google.common.reflect.TypeResolver
Packages that use TypeResolver
Package
Description
This package contains utilities to work with Java reflection.
-
Uses of TypeResolver in com.google.common.reflect
Fields in com.google.common.reflect declared as TypeResolverModifier and TypeFieldDescriptionprivate TypeResolverTypeToken.covariantTypeResolverResolver for resolving covariant types withTypeToken.runtimeTypeas context.private TypeResolverTypeToken.invariantTypeResolverResolver for resolving parameter and field types withTypeToken.runtimeTypeas context.Methods in com.google.common.reflect that return TypeResolverModifier and TypeMethodDescription(package private) static TypeResolverTypeResolver.covariantly(Type contextType) Returns a resolver that resolves types "covariantly".private TypeResolverTypeToken.getCovariantTypeResolver()private TypeResolverTypeToken.getInvariantTypeResolver()(package private) static TypeResolverTypeResolver.invariantly(Type contextType) Returns a resolver that resolves types "invariantly".Returns a newTypeResolverwith type variables informalmapping to types inactual.(package private) TypeResolverTypeResolver.where(Map<TypeResolver.TypeVariableKey, ? extends Type> mappings) Returns a newTypeResolverwithvariablemapping totype.