public class TypeResolver extends Object
Constructor and Description |
---|
TypeResolver(Map<TypeVariable<?>,Type> resolvedTypeVariables) |
Modifier and Type | Method and Description |
---|---|
Map<TypeVariable<?>,Type> |
getResolvedTypeVariables() |
Type |
resolveType(GenericArrayType type) |
Type |
resolveType(ParameterizedType type)
Resolves a given parameterized type.
|
Type |
resolveType(Type type) |
Type |
resolveType(TypeVariable<?> variable)
Resolves a given type variable.
|
public TypeResolver(Map<TypeVariable<?>,Type> resolvedTypeVariables)
public Type resolveType(TypeVariable<?> variable)
resolvedTypeVariables
map.public Type resolveType(ParameterizedType type)
ParameterizedType
instance is returned in which each type variable is resolved using
resolveType(TypeVariable)
.public Type resolveType(GenericArrayType type)
public Map<TypeVariable<?>,Type> getResolvedTypeVariables()
Copyright © 2016. All rights reserved.