public static boolean isPrimitives(final Class<?> cls) {
        return cls.isArray() ? isPrimitive(cls.getComponentType()) : isPrimitive(cls);
    }
@Test
    public void testIsPrimitives() {
        final Reflect reflect = new Reflect();
        Integer[] test = new Integer[]{};
        assertFalse(ReflectUtils.isPrimitives(reflect.getClass()));
        assertFalse(ReflectUtils.isPrimitives(reflect.getClass()));
        assertTrue(ReflectUtils.isPrimitives(test.getClass()));
    }