Fix doclava to preserve annotations on fields and methods

The android.jar stubs file used in the SDK was missing @Deprecated
annotations on methods and fields.

This changeset updates doclava to write annotations on methods and
fields as well, and to also add a @Deprecated annotation for APIs that
were marked deprecated but missing an annotation (presumably because
they only used the @deprecated doc comment; there are about 30 such
APIs out of 800+ deprecation usages.)

This fixes
http://code.google.com/p/android/issues/detail?id=26173

Change-Id: Iad675d4cfdf650165bfb7050cdcc0978c3a72d55
2 files changed
tree: dfb64747ff6a0b4bc99fec4bbba02636727fefe4
  1. res/
  2. src/
  3. test/
  4. android-changes.txt
  5. Android.mk
  6. build.xml
  7. moe.sh
  8. NOTICE