public static Class < ? > getObjectClassOfPrimitve ( Class < ? > primitive ) { Class < ? > objectClass = PRIMITIVE_TO_WRAPPER . get ( primitive ) ; if ( objectClass != null ) { return objectClass ; } return primitive ; }
Returns the wrapper class of the given primitive class or the given class .