class DefaultValueConverterRegistry implements ValueConverterRegistry {

    @SuppressWarnings("unchecked")
    protected static <T> Class<T> boxify(final Class<T> type) {
        if (type.isPrimitive() && boxifyMap.containsKey(type)) {
            return (Class<T>) boxifyMap.get(type);
        } else {
            return type;
        }
    }

}