Annotation Interface Comment


@Retention(RUNTIME) @Target({TYPE,FIELD}) public @interface Comment
Adds comments to a configuration field or to the class (for file header). Each string in the array will be a separate comment line, prefixed with '#'.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The comments to the configuration value.
  • Element Details

    • value

      String[] value
      The comments to the configuration value.
      Default:
      {}