summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPete Gillin <peteg@google.com>2018-11-13 15:36:32 +0000
committerPete Gillin <peteg@google.com>2018-11-13 16:15:05 +0000
commit365367f9a9b3bf4ec4e2efb416a8b2d9b75b6df4 (patch)
tree1d1e0e12740d93838e644a987fb79bcfa10e8093 /annotations/generate_annotated_java_files.py
parentd22837f7a8108fc12e0d417d668e4b0ca4b49ef4 (diff)
Add nullability annotations to BigInteger.
Note that, unlike previous changes, this is in libcore/luni, and the source code is patched directly. One noteworthy decision: BigInteger(int bitLength, int certainty, Random random)'s random argument actually can be null if bitLength is >= 16, since it is ignored. This is an Android-specific implementation detail, although it is documented. It still seems safer to warn on null, so this change annotates the parameter @NonNull. (This is unlikely to be used!) Test: make core-libart Bug: 64930165 Change-Id: I27ba04bcff2df897dbfb0fa90ba2a5cd26dfab7b
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions