diff options
author | Jeff Davidson <jpd@google.com> | 2015-02-11 13:12:14 -0800 |
---|---|---|
committer | Brian Duff <bduff@google.com> | 2015-04-28 13:01:12 -0700 |
commit | ec19be2f3c7a95f3b7d6d0ff7055daead9284d8d (patch) | |
tree | 0b55f93e6392700601001f42b29e979cdcefc860 /CHANGES.txt | |
parent | 41f0294cd6dc8aed2b3591d3ada9db8debd6a0d6 (diff) | |
download | protobuf-ec19be2f3c7a95f3b7d6d0ff7055daead9284d8d.tar.gz protobuf-ec19be2f3c7a95f3b7d6d0ff7055daead9284d8d.tar.bz2 protobuf-ec19be2f3c7a95f3b7d6d0ff7055daead9284d8d.zip |
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 'CHANGES.txt')
0 files changed, 0 insertions, 0 deletions