接口 ResolvableTypeProvider
public interface ResolvableTypeProvider
Any object can implement this interface to provide its actual
ResolvableType.
Such information is very useful when figuring out if the instance matches a generic signature as Java does not convey the signature at runtime.
Users of this interface should be careful in complex hierarchy scenarios, especially
when the generic type signature of the class changes in sub-classes. It is always
possible to return null to fallback on a default behavior.
- 从以下版本开始:
- 3.0
- 作者:
- Stephane Nicoll, TODAY 2021/3/23 22:01
-
方法概要
修饰符和类型方法说明Return theResolvableTypedescribing this instance (ornullif some sort of default should be applied instead).
-
方法详细资料
-
getResolvableType
Return theResolvableTypedescribing this instance (ornullif some sort of default should be applied instead).
-