public static Class<?> resolvePrimitiveIfNecessary(Class<?> clazz){
  Assert.notNull(clazz,"Class must not be null");
  return (clazz.isPrimitive() && clazz != void.class ? primitiveTypeToWrapperMap.get(clazz) : clazz);
}

public static Class < ? > resolvePrimitiveIfNecessary ( Class < ? > clazz ) { Assert . notNull ( clazz , "Class must not be null" ) ; return ( clazz . isPrimitive ( ) && clazz != void . class ? primitiveTypeToWrapperMap . get ( clazz ) : clazz ) ; }
resolve the given class if it is a primitive class , returning the corresponding primitive wrapper type instead .
