static class OptionValue.MultipleOverridesScope extends OptionValue.OverrideScope
Modifier and Type | Field and Description |
---|---|
(package private) Map<OptionValue<?>,Object> |
overrides |
(package private) OptionValue.OverrideScope |
parent |
Constructor and Description |
---|
MultipleOverridesScope(OptionValue.OverrideScope parent,
Map<OptionValue<?>,Object> overrides) |
MultipleOverridesScope(OptionValue.OverrideScope parent,
OptionValue<?> option,
Object value) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addToInherited(Map<OptionValue<?>,Object> inherited) |
void |
close() |
(package private) <T> T |
getOverride(OptionValue<T> option) |
(package private) void |
getOverrides(OptionValue<?> option,
Collection<Object> c) |
getDerived
final OptionValue.OverrideScope parent
final Map<OptionValue<?>,Object> overrides
public MultipleOverridesScope(OptionValue.OverrideScope parent, OptionValue<?> option, Object value)
MultipleOverridesScope(OptionValue.OverrideScope parent, Map<OptionValue<?>,Object> overrides)
void addToInherited(Map<OptionValue<?>,Object> inherited)
addToInherited
in class OptionValue.OverrideScope
<T> T getOverride(OptionValue<T> option)
getOverride
in class OptionValue.OverrideScope
void getOverrides(OptionValue<?> option, Collection<Object> c)
getOverrides
in class OptionValue.OverrideScope
public void close()
close
in interface AutoCloseable
close
in class OptionValue.OverrideScope