private static final class TypeResolver.TypeMappingIntrospector extends TypeVisitor
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<TypeResolver.TypeVariableKey,java.lang.reflect.Type> |
mappings |
| Modifier | Constructor and Description |
|---|---|
private |
TypeMappingIntrospector() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static ImmutableMap<TypeResolver.TypeVariableKey,java.lang.reflect.Type> |
getTypeMappings(java.lang.reflect.Type contextType)
Returns type mappings using type parameters and type arguments found in the generic
superclass and the super interfaces of
contextClass. |
private void |
map(TypeResolver.TypeVariableKey var,
java.lang.reflect.Type arg) |
(package private) void |
visitClass(java.lang.Class<?> clazz) |
(package private) void |
visitParameterizedType(java.lang.reflect.ParameterizedType parameterizedType) |
(package private) void |
visitTypeVariable(java.lang.reflect.TypeVariable<?> t) |
(package private) void |
visitWildcardType(java.lang.reflect.WildcardType t) |
visit, visitGenericArrayTypeprivate final java.util.Map<TypeResolver.TypeVariableKey,java.lang.reflect.Type> mappings
static ImmutableMap<TypeResolver.TypeVariableKey,java.lang.reflect.Type> getTypeMappings(java.lang.reflect.Type contextType)
contextClass.void visitClass(java.lang.Class<?> clazz)
visitClass in class TypeVisitorvoid visitParameterizedType(java.lang.reflect.ParameterizedType parameterizedType)
visitParameterizedType in class TypeVisitorvoid visitTypeVariable(java.lang.reflect.TypeVariable<?> t)
visitTypeVariable in class TypeVisitorvoid visitWildcardType(java.lang.reflect.WildcardType t)
visitWildcardType in class TypeVisitorprivate void map(TypeResolver.TypeVariableKey var, java.lang.reflect.Type arg)