summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-10-11 10:25:41 +0100
committerPaul Duffin <paulduffin@google.com>2019-11-11 17:38:34 +0000
commit42d8c1f6fdcb8d90f7fba12aec4f008e00fac1fa (patch)
tree8b85d3b8bf4a506bbadaa4f7d932356a87c6fa37 /annotations/generate_annotated_java_files.py
parent363dc35ec7e0be1911b2949953e5f3e2466bf73b (diff)
Remove metalava-manual from droidstubs generation
The metalava-manual droiddoc_exported_dir provides some annotations (in tools/metalava/manual/master.txt) that are merged into libcore stubs. They were provided in the API signature file because metalava does not support TYPE_USE annotations correctly when specified on Java code and so adding the libcore.util.Nullable/NonNull TYPE_USE annotations to the appropriate file in the ojluni/annotations/sdk/nullability directory did not work because they were discarded. This change works around that issue by allowing libcore.util.Nullable/NonNull to be specified on other element types like methods and fields. That allows them to be used in places where TYPE_USE annotations are not allowed and metalava merges them in correctly. Bug: 111116803 Test: m checkbuild tested that this does not change offline-sdk-docs Change-Id: I6fb0cfcfe158a61537b6706ef97f4f2c4359fe7a
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions