public static boolean isPrimitiveWrapperArray ( Class < ? > clazz ) { Preconditions . checkNotNull ( clazz , "Class must not be null" ) ; return ( clazz . isArray ( ) && isPrimitiveWrapper ( clazz . getComponentType ( ) ) ) ; }
Check if the given class represents an array of primitive wrappers i . e . Boolean Byte Character Short Integer Long Float or Double .