class ForwardOvernightCompoundedRateComputationFn implements RateComputationFn<OvernightCompoundedRateComputation> {

  @Override
  public PointSensitivityBuilder rateSensitivity(
      OvernightCompoundedRateComputation computation,
      LocalDate startDate,
      LocalDate endDate,
      RatesProvider provider) {

    OvernightIndexRates rates = provider.overnightIndexRates(computation.getIndex());
    ObservationDetails details = new ObservationDetails(computation, rates);
    return details.calculateRateSensitivity();
  }

  public  ForwardOvernightCompoundedRateComputationFn();

}