Java Utililty Methods Class Type Check

List of utility methods to do Class Type Check

Description

The list of methods to do Class Type Check are organized into topic(s).

Method

booleanisWrapperTypeOf(Class propertyType, Object propertyValue)
is Wrapper Type Of
String propertyTypeName = propertyType.getName();
return (isPrimitiveType(propertyTypeName)
        && getWrapper(propertyType.getName()) == propertyValue.getClass());