<commit_before>/**
 * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.strata.market.curve;

import java.io.Serializable;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Set;

import org.joda.beans.BeanBuilder;
import org.joda.beans.BeanDefinition;
import org.joda.beans.ImmutableBean;
import org.joda.beans.JodaBeanUtils;
import org.joda.beans.MetaProperty;
import org.joda.beans.Property;
import org.joda.beans.impl.direct.DirectFieldsBeanBuilder;
import org.joda.beans.impl.direct.DirectMetaBean;
import org.joda.beans.impl.direct.DirectMetaPropertyMap;

/**
 * Curve node metadata used when there is no applicable metadata.
 * <p>
 * This is primarily needed to ensure that the artificial node in {@link ConstantNodalCurve} has metadata.
 */
@BeanDefinition(builderScope = "private")
final class EmptyCurveParameterMetadata
    implements CurveParameterMetadata, ImmutableBean, Serializable {

  /** The singleton instance. */
  private static final EmptyCurveParameterMetadata INSTANCE = new EmptyCurveParameterMetadata();

  /** The description and identifier. */
  private static final String EMPTY = "Empty";

  /**
   * Returns node metadata.
   * 
   * @return the metadata
   */
  static EmptyCurveParameterMetadata empty() {
    return INSTANCE;
  }

  @Override
  public String getDescription() {
    return EMPTY;
  }

  /**
   * Returns {@link #EMPTY}.
   *
   * @return {@link #EMPTY}
   */
  @Override
  public String getIdentifier() {
    return EMPTY;
  }

  //------------------------- AUTOGENERATED START -------------------------
  ///CLOVER:OFF
  /**
   * The meta-bean for {@code EmptyCurveParameterMetadata}.
   * @return the meta-bean, not null
   */
  public static EmptyCurveParameterMetadata.Meta meta() {
    return EmptyCurveParameterMetadata.Meta.INSTANCE;
  }

  static {
    JodaBeanUtils.registerMetaBean(EmptyCurveParameterMetadata.Meta.INSTANCE);
  }

  /**
   * The serialization version id.
   */
  private static final long serialVersionUID = 1L;

  private EmptyCurveParameterMetadata() {
  }

  @Override
  public EmptyCurveParameterMetadata.Meta metaBean() {<commit_msg>Javadoc fix<commit_after>/**
 * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.strata.market.curve;

import java.io.Serializable;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Set;

import org.joda.beans.BeanBuilder;
import org.joda.beans.BeanDefinition;
import org.joda.beans.ImmutableBean;
import org.joda.beans.JodaBeanUtils;
import org.joda.beans.MetaProperty;
import org.joda.beans.Property;
import org.joda.beans.impl.direct.DirectFieldsBeanBuilder;
import org.joda.beans.impl.direct.DirectMetaBean;
import org.joda.beans.impl.direct.DirectMetaPropertyMap;

/**
 * Curve node metadata used when there is no applicable metadata.
 */
@BeanDefinition(builderScope = "private")
final class EmptyCurveParameterMetadata
    implements CurveParameterMetadata, ImmutableBean, Serializable {

  /**
   * The singleton instance.
   */
  private static final EmptyCurveParameterMetadata INSTANCE = new EmptyCurveParameterMetadata();

  /**
   * The description and identifier.
   */
  private static final String EMPTY = "Empty";

  /**
   * Returns node metadata.
   * 
   * @return the metadata
   */
  static EmptyCurveParameterMetadata empty() {
    return INSTANCE;
  }

  //-------------------------------------------------------------------------
  @Override
  public String getDescription() {
    return EMPTY;
  }

  /**
   * Returns 'Empty'.
   *
   * @return a simple identifier
   */
  @Override
  public String getIdentifier() {
    return EMPTY;
  }

  //------------------------- AUTOGENERATED START -------------------------
  ///CLOVER:OFF
  /**
   * The meta-bean for {@code EmptyCurveParameterMetadata}.
   * @return the meta-bean, not null
   */
  public static EmptyCurveParameterMetadata.Meta meta() {
    return EmptyCurveParameterMetadata.Meta.INSTANCE;
  }

  static {
    JodaBeanUtils.registerMetaBean(EmptyCurveParameterMetadata.Meta.INSTANCE);
  }

  /**
   * The serialization version id.
   */
  private static final long serialVersionUID = 1L;

  private EmptyCurveParameterMetadata() {
  }

  @Override
  public EmptyCurveParameterMetadata.Meta metaBean() {
{'fraction_non_alphanumeric': 0.13433169423334823, 'fraction_numerical': 0.002235136343316942, 'mean_word_length': 3.2256846081208685, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4235378', 'n_tokens_mistral': 1300, 'n_tokens_neox': 1270, 'n_words': 321}