Package com.google.common.reflect
Class TypeResolver.TypeMappingIntrospector
java.lang.Object
com.google.common.reflect.TypeVisitor
com.google.common.reflect.TypeResolver.TypeMappingIntrospector
- Enclosing class:
TypeResolver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ImmutableMap
<TypeResolver.TypeVariableKey, Type> getTypeMappings
(Type contextType) Returns type mappings using type parameters and type arguments found in the generic superclass and the super interfaces ofcontextClass
.private void
map
(TypeResolver.TypeVariableKey var, Type arg) (package private) void
visitClass
(Class<?> clazz) (package private) void
visitParameterizedType
(ParameterizedType parameterizedType) (package private) void
(package private) void
Methods inherited from class com.google.common.reflect.TypeVisitor
visit, visitGenericArrayType
-
Field Details
-
mappings
-
-
Constructor Details
-
TypeMappingIntrospector
private TypeMappingIntrospector()
-
-
Method Details
-
getTypeMappings
Returns type mappings using type parameters and type arguments found in the generic superclass and the super interfaces ofcontextClass
. -
visitClass
- Overrides:
visitClass
in classTypeVisitor
-
visitParameterizedType
- Overrides:
visitParameterizedType
in classTypeVisitor
-
visitTypeVariable
- Overrides:
visitTypeVariable
in classTypeVisitor
-
visitWildcardType
- Overrides:
visitWildcardType
in classTypeVisitor
-
map
-