summaryrefslogtreecommitdiff
path: root/java/com/google/devtools/common/options/Option.java
diff options
context:
space:
mode:
authorIvan Gavrilovic <gavra@google.com>2018-05-08 02:31:41 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-05-08 02:31:41 -0700
commit740334cd549968b0aa077fe67b6e4d0f03bff091 (patch)
tree74deac1e16e97c2c13f226cd4635cd65abf19303 /java/com/google/devtools/common/options/Option.java
parent301a69dfe6fbb59072b6c1af278ec31c10cbdf35 (diff)
parent2b50d295f5acc8ddf8924cd6536dfbfe45965ade (diff)
downloaddesugar-740334cd549968b0aa077fe67b6e4d0f03bff091.tar.gz
Merge remote-tracking branch upstream-master into master am: 9d2aa11004 am: 6beb00b474
am: 2b50d295f5 Change-Id: I47f5a0cd0f3fcd010c2c3e0ea92acf49c382bf50
Diffstat (limited to 'java/com/google/devtools/common/options/Option.java')
-rw-r--r--java/com/google/devtools/common/options/Option.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/java/com/google/devtools/common/options/Option.java b/java/com/google/devtools/common/options/Option.java
index 45f320a..f26a136 100644
--- a/java/com/google/devtools/common/options/Option.java
+++ b/java/com/google/devtools/common/options/Option.java
@@ -186,22 +186,4 @@ public @interface Option {
* that the old name is deprecated and the new name should be used.
*/
String oldName() default "";
-
- /**
- * Indicates that this option is a wrapper for other options, and will be unwrapped when parsed.
- * For example, if foo is a wrapper option, then "--foo=--bar=baz" will be parsed as the flag
- * "--bar=baz" (rather than --foo taking the value "--bar=baz"). A wrapper option should have the
- * type {@link Void} (if it is something other than Void, the parser will not assign a value to
- * it). The {@link Option#implicitRequirements()}, {@link Option#expansion()}, {@link
- * Option#converter()} attributes will not be processed. Wrapper options are implicitly repeatable
- * (i.e., as though {@link Option#allowMultiple()} is true regardless of its value in the
- * annotation).
- *
- * <p>Wrapper options are provided only for transitioning flags which appear as values to other
- * flags, to top-level flags. Wrapper options should not be used in Invocation Policy, as
- * expansion flags to other flags, or as implicit requirements to other flags. Use the inner flags
- * instead.
- */
- @Deprecated
- boolean wrapperOption() default false;
}