summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPete Gillin <peteg@google.com>2018-09-20 16:11:39 +0100
committerPete Gillin <peteg@google.com>2018-09-24 16:25:45 +0100
commitc6e888cb420fe9ad6bbca7be90df5687bc622a1b (patch)
tree0a26ad4eeef2aa6bd321cea32b011663a566ca8e /annotations/generate_annotated_java_files.py
parentf873a333c8f0daca59cae508ec8d2fc64b18982a (diff)
Switch the mmodule annotations to --show-single-annotation.
With this change, @CorePlatformApi or @IntraCoreApi on a class doesn't apply to its members, so we need fewer @hide tags on its members. DemoSimpleClass and DemoLibartClass have been updated to take advantage of this. With both the flag changes and the @hide tags removed, the methods included in the API stubs for the two demo classes are the same as before. (The only visible effect of this change on the stubs is that the methods in the stubs stubs no longer have @hide tags in their javadoc, but this presumably doesn't matter. The @hide tag on the class is still there.) The contents of the following has been verified with this change: - out/soong/.intermediates/libcore/mmodules/core_platform_api/core-platform-api-stubs/android_common/stubsDir/libcore/mmodule/libart/DemoLibartClass.java - out/soong/.intermediates/libcore/mmodules/intracoreapi/core-intra-stubs/android_common/stubsDir/libcore/mmodule/libart/DemoLibartClass.java - out/soong/.intermediates/libcore/mmodules/simple/core-simple-intra-stubs/android_common/stubsDir/libcore/mmodule/simple/DemoSimpleClass.java Bug: 115745533 Test: `make core-platform-api-stubs core-intra-stubs core-simple-intra-stubs` Change-Id: Ibf8f3383aeb95a231548470f878c902b3220bda6
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions