blob: aa7c78141d2dc1bab01e0b825e508db7b49f0c6c [file] [log] [blame]
Pete Gillin0728b742018-09-17 15:41:45 +01001This directory contains annotated stub files which can be merged into
2the main source files by metalava when it is producing API stubs. This
3mechanism is used instead of adding the annotations to the main source
4files, to avoid carrying patches against the upstream sources.
5
6Directory structure
7===================
8
9libcore/ojluni/annotations/sdk:
10 - Contains annotations to be included in the public SDK, for example
11 annotations specifying additional details about method contracts.
12
13libcore/ojluni/annotations/sdk/nullability:
14 - Contains annotations to be included in the public SDK specifically
15 relating to nullability. Adding an annotated stub file to this subdirectory
16 will cause the annotations to be validated for correctness and completeness.