public static boolean isPrimitives(Class<?> clazz) {
        if (clazz.isArray()) { // 数组，检查数组类型
            return isPrimitiveType(clazz.getComponentType());
        }
        return isPrimitiveType(clazz);
    }
public static boolean isPrimitives ( Class < ? > clazz ) { if ( clazz . isArray ( ) ) { return isPrimitiveType ( clazz . getComponentType ( ) ) ; } return isPrimitiveType ( clazz ) ; }
是否默认类型，基本类型+string+date

@param clazz the cls
@return the boolean