commit | 3478239c56d24d206ff7a5e5bbb0add4df5fadf2 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Wed Mar 06 13:38:10 2019 +0100 |
committer | Adrian Roos <roosa@google.com> | Wed Mar 06 13:40:03 2019 +0100 |
tree | 03c8bd8dca9cc2a9a4069e9675be5dc75aa6e801 | |
parent | 26968d81f8291f1dd4a0f8a7e962c60d62b9ef61 [diff] |
apilint: Lint unhidden @IntDef and @LongDef @IntDefs and @LongDefs cannot be stored in a .class file, because the constant names are lost. Instead, they are packaged out-of-band. Therefore, they should never be in the API. Test: python tools/apilint/apilint.py api/current.txt Change-Id: If22e0cf7db0bb90dae6174bf546f2ec8be4e5458