class ForwardOvernightCompoundedAnnualRateComputationFn implements RateComputationFn<OvernightCompoundedAnnualRateComputation> {

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

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

  public  ForwardOvernightCompoundedAnnualRateComputationFn();

}