java.lang.Object | |
↳ | org.springframework.core.GenericTypeResolver |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine the target type for the given parameter specification.
| |||||||||||
Determine the target type for the given generic parameter type.
| |||||||||||
Determine the target type for the generic return type of the given method.
| |||||||||||
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.
| |||||||||||
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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Determine the target type for the given parameter specification.
methodParam | the method parameter specification |
---|
Determine the target type for the given generic parameter type.
methodParam | the method parameter specification |
---|---|
clazz | the class to resolve type variables against |
Determine the target type for the generic return type of the given method.
method | the method to introspect |
---|---|
clazz | the class to resolve type variables against |
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.
clazz | the target class to check against |
---|---|
genericIfc | the generic interface or superclass to resolve the type argument from |
null
if not resolvable
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.
clazz | the target class to check against |
---|---|
genericIfc | the generic interface or superclass to resolve the type argument from |
null
if not resolvable