OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:optionDefinition
(Results
1 - 9
of
9
) sorted by null
/external/desugar/java/com/google/devtools/common/options/
OptionsUsage.java
45
List<
OptionDefinition
> optionDefinitions =
47
optionDefinitions.sort(
OptionDefinition
.BY_OPTION_NAME);
48
for (
OptionDefinition
optionDefinition
: optionDefinitions) {
49
getUsage(
optionDefinition
, usage, OptionsParser.HelpVerbosity.LONG, data, false);
90
OptionDefinition
optionDefinition
, OptionsData optionsData) {
91
Preconditions.checkNotNull(
optionDefinition
);
92
return optionsData.getEvaluatedExpansion(
optionDefinition
);
108
OptionDefinition
optionDefinition
[
all
...]
ParsedOptionDescription.java
30
private final
OptionDefinition
optionDefinition
;
36
OptionDefinition
optionDefinition
,
40
this.
optionDefinition
= Preconditions.checkNotNull(
optionDefinition
);
47
OptionDefinition
optionDefinition
,
54
optionDefinition
,
65
OptionDefinition
optionDefinition, OptionInstanceOrigin origin)
[
all
...]
OptionValueDescription.java
36
protected final
OptionDefinition
optionDefinition
;
38
public OptionValueDescription(
OptionDefinition
optionDefinition
) {
39
this.
optionDefinition
=
optionDefinition
;
42
public
OptionDefinition
getOptionDefinition() {
43
return
optionDefinition
;
94
OptionDefinition
option, OptionsData optionsData) {
110
public static OptionValueDescription getDefaultOptionValue(
OptionDefinition
option)
[
all
...]
OptionsParserImpl.java
54
*
OptionDefinition
("--host") -> "www.google.com"
55
*
OptionDefinition
("--port") -> 80
61
private final Map<
OptionDefinition
, OptionValueDescription> optionValues = new HashMap<>();
145
.map(
optionDefinition
-> optionValues.get(
optionDefinition
).getCanonicalInstances())
155
for (Map.Entry<String,
OptionDefinition
> mapEntry : optionsData.getAllOptionDefinitions()) {
156
OptionDefinition
optionDefinition
= mapEntry.getValue();
157
OptionValueDescription optionValue = optionValues.get(
optionDefinition
);
159
result.add(OptionValueDescription.getDefaultOptionValue(
optionDefinition
));
[
all
...]
OptionsData.java
34
private final ImmutableMap<
OptionDefinition
, ImmutableList<String>> evaluatedExpansions;
38
IsolatedOptionsData base, Map<
OptionDefinition
, ImmutableList<String>> evaluatedExpansions) {
50
public ImmutableList<String> getEvaluatedExpansion(
OptionDefinition
optionDefinition
) {
51
ImmutableList<String> result = evaluatedExpansions.get(
optionDefinition
);
66
ImmutableMap.Builder<
OptionDefinition
, ImmutableList<String>> evaluatedExpansionsBuilder =
68
for (Map.Entry<String,
OptionDefinition
> entry : isolatedData.getAllOptionDefinitions()) {
69
OptionDefinition
optionDefinition
= entry.getValue();
72
String[] constExpansion =
optionDefinition
.getOptionExpansion()
[
all
...]
IsolatedOptionsData.java
19
import com.google.devtools.common.options.
OptionDefinition
.NotAnOptionException;
56
private static final Map<Class<? extends OptionsBase>, ImmutableList<
OptionDefinition
>>
60
public static synchronized ImmutableList<
OptionDefinition
> getAllOptionDefinitionsForClass(
69
return
OptionDefinition
.extractOptionDefinition(field);
77
.sorted(
OptionDefinition
.BY_OPTION_NAME)
88
* Mapping from option name to {@code
OptionDefinition
}. Entries appear ordered first by their
92
private final ImmutableMap<String,
OptionDefinition
> nameToField;
96
*
OptionDefinition
}. Entries appear ordered first by their options class (the order in which they
100
private final ImmutableMap<String,
OptionDefinition
> oldNameToField;
102
/** Mapping from option abbreviation to {@code
OptionDefinition
} (unordered). *
[
all
...]
OptionsParser.java
25
import com.google.devtools.common.options.
OptionDefinition
.NotAnOptionException;
74
* while validating an {@link
OptionDefinition
} in one of its {@link OptionsBase} subclasses.
239
private final
OptionDefinition
optionDefinition
;
242
OptionDescription(
OptionDefinition
definition, OptionsData optionsData) {
243
this.
optionDefinition
= definition;
244
this.evaluatedExpansion = optionsData.getEvaluatedExpansion(
optionDefinition
);
247
public
OptionDefinition
getOptionDefinition() {
248
return
optionDefinition
;
252
return
optionDefinition
.isExpansionOption()
[
all
...]
InvocationPolicyEnforcer.java
432
OptionDefinition
subflag = subflagDesc.getOptionDefinition();
550
OptionDefinition
optionDefinition
= flagPolicy.description.getOptionDefinition();
557
optionDefinition
));
567
optionDefinition
));
579
optionDefinition
,
595
optionDefinition
,
597
optionDefinition
.getDefaultValue());
603
optionDefinition
,
609
parser.addOptionValueAtSpecificPriority(flagPolicy.origin,
optionDefinition
, flagValue)
[
all
...]
OptionsBase.java
77
OptionDefinition
optionDefinition
=
OptionDefinition
.extractOptionDefinition(entry.getKey());
78
map.put(
optionDefinition
.getOptionName(), entry.getValue());
Completed in 2157 milliseconds