code: public static boolean isPrimitiveArray(Class<?> clazz) {
  		Assert.notNull(clazz, "Class must not be null");
  		return (clazz.isArray() && clazz.getComponentType().isPrimitive());
  	}
docs: Check if the given class represents an array of primitives,
  i.e. boolean, byte, char, short, int, long, float, or double.
  @param clazz the class to check
  @return whether the given class is a primitive array class