Annotation Interface Option.Group

Enclosing class:
Option

@Retention(CLASS) @Target(TYPE) public static @interface Option.Group
Must be applied on classes containing option fields to specify a name prefix if the prefix cannot be inferred by language or instrument.

The option descriptor name is generated from the option name prefix and the option name separated by '.'. If the option name is an empty String then the trailing '.' will be removed from the descriptor name.

Since:
0.27
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A set of group names that are used as prefix for all options of the annotated class.
  • Element Details

    • value

      String[] value
      A set of group names that are used as prefix for all options of the annotated class. If multiple group names are specified then descriptors for each combination of group and option name is generated.

      The option descriptor name is generated from the group name and the option name separated by '.'. If the option name is an empty String then the trailing '.' will be removed from the descriptor name such that it exactly matches the group name. If, for example, the option group is 'js' and the option name is inherited from the field name 'ECMACompatibility' then the full descriptor name is 'js.ECMACompatibility'.

      Since:
      0.27