summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2017-09-12 16:45:34 +0100
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2017-09-28 10:32:47 +0000
commit0f22ea509e0e5e8a25d94d762518d72af000af0a (patch)
treeebc729d2a290e5b0a7c0937a09486f8350d72c36 /annotations/generate_annotated_java_files.py
parent8ff194011cfaae5d532e04c0ee536e4c43addb09 (diff)
Add libcore NonNull annotation and core-oj jaif file
This change introduces libcore.util.NonNull, annotation that denotes that a type use (reference, parameter, return value, etc.) can never be null. Also, this change adds a jaif file (stands for “Java annotation index file”, https://checkerframework.org/annotation-file-utilities/ annotation-file-format.html) for core-oj library. This file can be used to introduce annotations to libcore code without modifing openJdk code (fewer local patches to worry about). ojluni.jafi currently contains few NonNull annotations for java.lang classes. Build targets and tools to apply jaif file over libcore code will be introduced in later changes Test: make Bug: 64930165 Change-Id: I5a1be47026d7855d6e813950db3fe2b396e53d1f
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions