/**
  * Gets a {@code ConventionBundleSource} from the context.
  *
  * @param context the context to examine, not null
  * @return the value, null if not found
  */
 public static ConventionBundleSource getConventionBundleSource(
     final FunctionExecutionContext context) {
   return (ConventionBundleSource) context.get(CONVENTION_BUNDLE_SOURCE_NAME);
 }
 public static OverrideOperationCompiler getOverrideOperationCompiler(
     final FunctionExecutionContext context) {
   return (OverrideOperationCompiler) context.get(OVERRIDE_OPERATION_COMPILER_NAME);
 }
 /**
  * Gets a {@code HistoricalTimeSeriesSource} from the context.
  *
  * @param context the context to examine, not null
  * @return the value, null if not found
  */
 public static HistoricalTimeSeriesSource getHistoricalTimeSeriesSource(
     final FunctionExecutionContext context) {
   return (HistoricalTimeSeriesSource) context.get(HISTORICAL_TIME_SERIES_SOURCE_NAME);
 }
 /**
  * Gets a {@code ConfigSource} from the context.
  *
  * @param context the context to examine, not null
  * @return the value, null if not found
  */
 public static ConfigSource getConfigSource(final FunctionExecutionContext context) {
   return (ConfigSource) context.get(CONFIG_SOURCE_NAME);
 }
 /**
  * Gets a {@code CurveCalculationConfigSource} from the context.
  *
  * @param context the context to examine, not null
  * @return the curve config source, null if not found
  */
 public static CurveCalculationConfigSource getCurveCalculationConfigSource(
     final FunctionExecutionContext context) {
   return (CurveCalculationConfigSource) context.get(CURVE_CALCULATION_CONFIG_NAME);
 }
 /**
  * Gets a {@code ExchangeSource} from the context.
  *
  * @param context the context to examine, not null
  * @return the value, null if not found
  */
 public static ExchangeSource getExchangeSource(final FunctionExecutionContext context) {
   return (ExchangeSource) context.get(EXCHANGE_SOURCE_NAME);
 }
 /**
  * Gets a {@code HolidaySource} from the context.
  *
  * @param context the context to examine, not null
  * @return the value, null if not found
  */
 public static HolidaySource getHolidaySource(final FunctionExecutionContext context) {
   return (HolidaySource) context.get(HOLIDAY_SOURCE_NAME);
 }
 /**
  * Gets a {@code RegionSource} from the context.
  *
  * @param context the context to examine, not null
  * @return the value, null if not found
  */
 public static RegionSource getRegionSource(final FunctionExecutionContext context) {
   return (RegionSource) context.get(REGION_SOURCE_NAME);
 }