code: public static <S> S setSreSpecificData(SRESpecificDataContainer container, S data, Class<S> type) {
  		assert container != null;
  		final S oldData = container.$getSreSpecificData(type);
  		container.$setSreSpecificData(data);
  		return oldData;
  	}
docs: Change the data associated to the given container by the SRE.
  
  @param <S> the type of the data.
  @param type the type of the data.
  @param container the container.
  @param data the SRE-specific data.
  @return the SRE-specific data that was associated to the container before associating data to it.
  @since 0.6