@IntDef and @StringDef must have source retention
They reference constant references, not constant values, and this cannot be expressed in the .class file for annotations; the data is instead extracted at build time into external annotation data files. Test: Manual Change-Id: I06b366ba8815d1da40e6cbf906ebae09899c1b8e
Loading
Please register or sign in to comment