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