diff options
author | Jeff Davidson <jpd@google.com> | 2015-02-11 13:12:14 -0800 |
---|---|---|
committer | Jeff Davidson <jpd@google.com> | 2015-02-19 19:55:26 +0000 |
commit | 30d873bd66f50a6021de5d44d7ee5b8a809b0524 (patch) | |
tree | c4cec97120f5b387aa9ea6910ff1e839725ccfb8 /depcomp | |
parent | eb5ae9e258a8fc953e6cf0b3a0dd04a112a05a3c (diff) | |
download | external_protobuf-30d873bd66f50a6021de5d44d7ee5b8a809b0524.zip external_protobuf-30d873bd66f50a6021de5d44d7ee5b8a809b0524.tar.gz external_protobuf-30d873bd66f50a6021de5d44d7ee5b8a809b0524.tar.bz2 |
Generate @IntDef annotations for nanoproto enums.
@IntDef is a support library annotation which allows build tools to
determine the valid set of values for a given integer field when that
field is intended to be restricted like an enum. This avoids the
overhead of enums while still allowing for compile-time type checking
in most circumstances.
Change-Id: Iee02e0b49a8e069f6456572f538e0a0d301fdfd5
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions