summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-02-18 00:32:44 +0900
committerLorenzo Colitti <lorenzo@google.com>2016-02-19 10:26:55 +0900
commitd2457a3ee39ea55ed8e302bd93feede793cb5055 (patch)
tree520c8a63a05c9ab0d27cf2f4a54fcfcec37563d6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0d0f0c7faf530a0fa5595dd539c3f56afeb6603a (diff)
Add a MessageUtils class to convert int constants to strings.
This class uses reflection to find accessible static integer members in a specified list of classes and returns a SparseArray mapping the integers to their names. This will allow us to replace various 400-line switch statements with a simple array access. Change-Id: I3607e6389a423cde0bd83270c00b3c863ae1bb29
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions