Lukellmann
07/23/2022, 4:54 PM@RequiresOptIn
annotations in our library.
1. Annotations for new experimental API that might change.
2. Annotations for API that is easy to use incorrectly.
Which AnnotationRetention
should be used in each case? (BINARY
or RUNTIME
, SOURCE
isn't allowed)Iaroslav Postovalov
07/27/2022, 6:22 PMBINARY
for all the experimental annotations, even though nobody scans them through reflection.