Annotation Interface ConfigSection


@Target(FIELD) @Retention(RUNTIME) @Documented public @interface ConfigSection
Marks a field as a configuration section. The field type should be another configuration class.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Path to the section in the configuration file.
  • Element Details

    • value

      String value
      Path to the section in the configuration file. If empty, uses the field name.
      Returns:
      the section path
      Default:
      ""