Package com.oracle.truffle.api
Annotation Interface Option.Group
- Enclosing class:
Option
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
-
Element Details
-
value
String[] valueA 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 thegroup name
and theoption name
separated by'.'
. If the option name is an emptyString
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
-