code: @SuppressWarnings("unchecked")
  	public static <X, C> BasicArrayTypeInfo<X, C> getInfoFor(Class<X> type) {
  		if (!type.isArray()) {
  			throw new InvalidTypesException("The given class is no array.");
  		}
  
  		// basic type arrays
  		return (BasicArrayTypeInfo<X, C>) TYPES.get(type);
  	}
docs: --------------------------------------------------------------------------------------------