Package org.hibernate.internal.util.type
Class PrimitiveWrapperHelper
- java.lang.Object
-
- org.hibernate.internal.util.type.PrimitiveWrapperHelper
-
public final class PrimitiveWrapperHelper extends Object
Helper for primitive/wrapper utilities.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrimitiveWrapperHelper.BooleanDescriptor
static class
PrimitiveWrapperHelper.ByteDescriptor
static class
PrimitiveWrapperHelper.CharacterDescriptor
static class
PrimitiveWrapperHelper.DoubleDescriptor
static class
PrimitiveWrapperHelper.FloatDescriptor
static class
PrimitiveWrapperHelper.IntegerDescriptor
static class
PrimitiveWrapperHelper.LongDescriptor
static interface
PrimitiveWrapperHelper.PrimitiveWrapperDescriptor<T>
Describes a particular primitive/wrapper combostatic class
PrimitiveWrapperHelper.ShortDescriptor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
arePrimitiveWrapperEquivalents(Class converterDefinedType, Class propertyType)
static <X> PrimitiveWrapperHelper.PrimitiveWrapperDescriptor<X>
getDescriptorByPrimitiveType(Class<X> primitiveClazz)
static <X> PrimitiveWrapperHelper.PrimitiveWrapperDescriptor<X>
getDescriptorByWrapperType(Class<X> wrapperClass)
static boolean
isWrapper(Class<?> clazz)
-
-
-
Method Detail
-
getDescriptorByPrimitiveType
public static <X> PrimitiveWrapperHelper.PrimitiveWrapperDescriptor<X> getDescriptorByPrimitiveType(Class<X> primitiveClazz)
-
getDescriptorByWrapperType
public static <X> PrimitiveWrapperHelper.PrimitiveWrapperDescriptor<X> getDescriptorByWrapperType(Class<X> wrapperClass)
-
isWrapper
public static boolean isWrapper(Class<?> clazz)
-
-