code: @SuppressWarnings("unchecked")
  	@PublicEvolving
  	public static <X> PrimitiveArrayTypeInfo<X> getInfoFor(Class<X> type) {
  		if (!type.isArray()) {
  			throw new InvalidTypesException("The given class is no array.");
  		}
  
  		// basic type arrays
  		return (PrimitiveArrayTypeInfo<X>) TYPES.get(type);
  	}
docs: Tries to get the PrimitiveArrayTypeInfo for an array. Returns null, if the type is an array,
  but the component type is not a primitive type.
  
  @param type The class of the array.
  @return The corresponding PrimitiveArrayTypeInfo, or null, if the array is not an array of primitives.
  @throws InvalidTypesException Thrown, if the given class does not represent an array.