Move common parts of AnnotationAnalyzer methods to ModelAnalyzer.

Bug 19643846
Bug 19627630

Also made it so that setter methods will auto-cast from Object
when necessary. This is useful for heterogenous map objects
where .get(id) may return an Integer or a String or a Drawable.

Change-Id: Iacfd739ea4938f38b584a8eab9193f1fd4071df1
21 files changed
tree: 7d08e493c5cfa2aebf997d3caa1df441ddde4f69
  1. tools/