public static Class<?> getWrappedClass(Class<?> clazz) {
        if (clazz.isPrimitive()) {
            if (clazz.equals(byte.class)) {
                return Byte.class;
            }
            if (clazz.equals(boolean.class)) {
                return Boolean.class;
            }
            if (clazz.equals(char.class)) {
                return Character.class;
            }
            if (clazz.equals(short.class)) {
                return Short.class;
            }
            if (clazz.equals(int.class)) {
                return Integer.class;
            }
            if (clazz.equals(long.class)) {
                return Long.class;
            }
            if (clazz.equals(float.class)) {
                return Float.class;
            }
            if (clazz.equals(double.class)) {
                return Double.class;
            }
            if (clazz.equals(void.class)) {
                return Void.class;
            }
        }

        return clazz;
    }
@Test
    public void testGetWrappedClass() {
        Assertions.assertEquals(Byte.class, ReflectionUtil.getWrappedClass(byte.class));
        Assertions.assertEquals(Boolean.class, ReflectionUtil.getWrappedClass(boolean.class));
        Assertions.assertEquals(Character.class, ReflectionUtil.getWrappedClass(char.class));
        Assertions.assertEquals(Short.class, ReflectionUtil.getWrappedClass(short.class));
        Assertions.assertEquals(Integer.class, ReflectionUtil.getWrappedClass(int.class));
        Assertions.assertEquals(Long.class, ReflectionUtil.getWrappedClass(long.class));
        Assertions.assertEquals(Float.class, ReflectionUtil.getWrappedClass(float.class));
        Assertions.assertEquals(Double.class, ReflectionUtil.getWrappedClass(double.class));
        Assertions.assertEquals(Void.class, ReflectionUtil.getWrappedClass(void.class));
        Assertions.assertEquals(Object.class, ReflectionUtil.getWrappedClass(Object.class));
    }