Package org.eclipse.yasson.internal
Class RuntimeTypeHolder
java.lang.Object
org.eclipse.yasson.internal.RuntimeTypeHolder
- All Implemented Interfaces:
RuntimeTypeInfo
Holds runtime type and wrapper runtime type info if any.
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeTypeHolder(RuntimeTypeInfo wrapper, Type runtimeType) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionRuntime type of this item.Wrapper containing property of this type.
-
Constructor Details
-
RuntimeTypeHolder
Creates a new instance.- Parameters:
wrapper- runtime info about classruntimeType- class type
-
-
Method Details
-
getWrapper
Wrapper containing property of this type.- Specified by:
getWrapperin interfaceRuntimeTypeInfo- Returns:
- wrapper
-
getRuntimeType
Runtime type of this item.- Specified by:
getRuntimeTypein interfaceRuntimeTypeInfo- Returns:
- runtime type
-