Package io.avaje.jsonb.core
Class Util
java.lang.Object
io.avaje.jsonb.core.Util
Utility methods for defining Types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GenericArrayTypeReturns an array type whose elements are all instances ofcomponentType.static ParameterizedTypenewParameterizedType(Type rawType, Type... typeArguments) Returns a new parameterized type, applyingtypeArgumentstorawType.
-
Method Details
-
arrayOf
Returns an array type whose elements are all instances ofcomponentType. -
newParameterizedType
Returns a new parameterized type, applyingtypeArgumentstorawType. Use this method ifrawTypeis not enclosed in another type.
-