Fix doclava to preserve annotations on fields and methods - do not merge.

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

(cherry picked from commit 73934887ea87fca353449f0fd476d6c07b349521)

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