Annotation Interface WithUnnamedKey


@Documented @Retention(RUNTIME) @Target({METHOD,TYPE_USE}) public @interface WithUnnamedKey
Omits a single map key from the configuration name when populating Map types. Configuration values for the Map may be retrieved by the key defined in value().
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The key name to use to populate configuration values from a configuration path without a key.
  • Element Details

    • value

      String value
      The key name to use to populate configuration values from a configuration path without a key.
      Returns:
      the Map key
      Default:
      ""