class GenericVolatilitySurfaceYearFractionParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable {

  public static GenericVolatilitySurfaceYearFractionParameterMetadata of(
      double yearFraction,
      Strike strike) {

    String label = Pair.of(yearFraction, strike.getLabel()).toString();
    return new GenericVolatilitySurfaceYearFractionParameterMetadata(yearFraction, null, strike, label);
  }

  private  GenericVolatilitySurfaceYearFractionParameterMetadata(
      double yearFraction,
      Tenor yearFractionTenor,
      Strike strike,
      String label);

}