Pete Gillin | 0728b74 | 2018-09-17 15:41:45 +0100 | [diff] [blame^] | 1 | This directory contains annotated stub files which can be merged into |
| 2 | the main source files by metalava when it is producing API stubs. This |
| 3 | mechanism is used instead of adding the annotations to the main source |
| 4 | files, to avoid carrying patches against the upstream sources. |
| 5 | |
| 6 | Directory structure |
| 7 | =================== |
| 8 | |
| 9 | libcore/ojluni/annotations/sdk: |
| 10 | - Contains annotations to be included in the public SDK, for example |
| 11 | annotations specifying additional details about method contracts. |
| 12 | |
| 13 | libcore/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. |