org.constretto.internal
Class GenericTypeResolver

java.lang.Object
  extended by 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

Constructor Summary
GenericTypeResolver()
           
 
Method Summary
static Type getTargetType(MethodParameter methodParam)
          Determine the target type for the given parameter specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericTypeResolver

public GenericTypeResolver()
Method Detail

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.