@SuppressWarnings("unchecked")
    public static <T> Class<T> wrap(Class<T> type) {
        Checker.checkArgumentNotNull(type);
        Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER.get(type);
        return wrapped != null ? wrapped : type;
    }
@ SuppressWarnings ( "unchecked" ) public static < T > Class < T > wrap ( Class < T > type ) { Checker . checkArgumentNotNull ( type ) ; Class < T > wrapped = ( Class < T > ) PRIMITIVE_TO_WRAPPER . get ( type ) ; return wrapped != null ? wrapped : type ; }
@param type
@return the wrapper type of the given type if it is a primitive, or the
type itself otherwise