public interface ReturnTypeParser
| Modifier and Type | Method and Description |
|---|---|
default Type |
getReturnType(org.springframework.core.MethodParameter methodParameter) |
static Type |
resolveType(Type genericType,
Class<?> contextClass)
This is a copy of GenericTypeResolver.resolveType which is not available on spring 4.
|
static org.springframework.core.ResolvableType |
resolveVariable(TypeVariable<?> typeVariable,
org.springframework.core.ResolvableType contextType) |
default Type getReturnType(org.springframework.core.MethodParameter methodParameter)
static Type resolveType(Type genericType, @Nullable Class<?> contextClass)
genericType - the (potentially) generic typecontextClass - a context class for the target type, for example a class
in which the target type appears in a method signature (can be null)static org.springframework.core.ResolvableType resolveVariable(TypeVariable<?> typeVariable, org.springframework.core.ResolvableType contextType)
Copyright © 2020. All rights reserved.