类 SerializableTypeWrapper

java.lang.Object
cn.taketoday.core.SerializableTypeWrapper

final class SerializableTypeWrapper extends Object
Internal utility class that can be used to obtain wrapped Serializable variants of java.lang.reflect.Types.

Fields or MethodParameters can be used as the root source for a serializable type. Alternatively, a regular Class can also be used as source.

The returned type will either be a Class or a serializable proxy of GenericArrayType, ParameterizedType, TypeVariable or WildcardType. With the exception of Class (which is final) calls to methods that return further Types (for example GenericArrayType.getGenericComponentType()) will be automatically wrapped.

从以下版本开始:
3.0
作者:
Phillip Webb, Juergen Hoeller, Sam Brannen, Harry Yang