code: public List<T> getVariable() throws InitializationTypeConflictException {
  		if (!materialized) {
  			throw new IllegalStateException("The Broadcast Variable has not yet been materialized.");
  		}
  		if (disposed) {
  			throw new IllegalStateException("The Broadcast Variable has been disposed");
  		}
  
  		synchronized (references) {
  			if (transformed != null) {
  				if (transformed instanceof List) {
  					@SuppressWarnings("unchecked")
  					List<T> casted = (List<T>) transformed;
  					return casted;
  				} else {
  					throw new InitializationTypeConflictException(transformed.getClass());
  				}
  			}
  			else {
  				return data;
  			}
  		}
  	}
docs: --------------------------------------------------------------------------------------------