public class NestedBooleanOptionKey extends OptionKey<Boolean>
OptionKey that can be overridden by a parent
option.
NestedBooleanOptionKey.getValue(org.graalvm.compiler.options.OptionValues) depends on the NestedBooleanOptionKey.parentOption and evaluates as follows:
NestedBooleanOptionKey.parentOption is set, this value equals to NestedBooleanOptionKey.initialValue.
NestedBooleanOptionKey.parentOption is false, this option is false.| Constructor and Description |
|---|
NestedBooleanOptionKey(OptionKey<Boolean> parentOption,
Boolean initialValue) |
| Modifier and Type | Method and Description |
|---|---|
OptionKey<Boolean> |
getParentOption() |
Boolean |
getValue(OptionValues options)
Gets the value of this option in
values. |
afterValueUpdate, checkDescriptorExists, getDefaultValue, getDescriptor, getName, getValueOrDefault, hasBeenSet, onValueUpdate, putIfAbsent, setDescriptor, toString, update