org.constretto.internal
Class GenericTypeResolver
java.lang.Object
org.constretto.internal.GenericTypeResolver
public abstract class GenericTypeResolver
- extends Object
Helper class for resolving generic types against type variables.
Mainly intended for usage within the framework, resolving method
parameter types even when they are declared generically.
- Since:
- 2.5.2
- Author:
- Juergen Hoeller, Rob Harrop
- See Also:
GenericCollectionTypeResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericTypeResolver
public GenericTypeResolver()
getTargetType
public static Type getTargetType(MethodParameter methodParam)
- Determine the target type for the given parameter specification.
- Parameters:
methodParam - the method parameter specification
- Returns:
- the corresponding generic parameter type
Copyright © 2008-2013. All Rights Reserved.