Example usage for Java org.springframework.core GenericTypeResolver fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | resolveParameterType(MethodParameter methodParameter, Class> implementationClass) Determine the target type for the given generic parameter type. |
Class> | resolveReturnType(Method method, Class> clazz) Determine the target type for the generic return type of the given method, where formal type variables are declared on the given class. |
Class> | resolveReturnTypeArgument(Method method, Class> genericIfc) Resolve the single type argument of the given generic interface against the given target method which is assumed to return the given interface or an implementation of it. |
Type | resolveType(Type genericType, @Nullable Class> contextClass) Resolve the given generic type against the given context class, substituting type variables as far as possible. |
Class> | resolveType(Type genericType, Map Resolve the specified generic type against the given TypeVariable map. |
Class> | resolveTypeArgument(Class> clazz, Class> genericIfc) Resolve the single type argument of the given generic interface against the given target class which is assumed to implement the generic interface and possibly declare a concrete type for its type variable. |
Class>[] | resolveTypeArguments(Class> clazz, Class> genericIfc) Resolve the type arguments of the given generic interface against the given target class which is assumed to implement the generic interface and possibly declare concrete types for its type variables. |