public static Class convertPrimitiveToWrapper ( Class clazz ) { if ( clazz == null || ! clazz . isPrimitive ( ) ) return clazz ; return ( Class ) primativeToWrapperMap . get ( clazz ) ; }
Gets the equivalent class to convert to if the given clazz is a primitive .