Open sdavids opened 3 weeks ago
I don't understand what your issue is just by reading the description. Can you add more detail?
AI_ANNOTATION_ISSUES_NEEDS_NULLABLE
does not support the JSpecify annotations.
Using them errors out with:
L C AI_ANNOTATION_ISSUES_NEEDS_NULLABLE AI: Method test.Test.get() that can return null, is missing a @Nullable annotation At Test.java:[line 5]
See the reproducer above.
Yes, one could add them as custom annotations (-Dfb-contrib.ai.annotations
) but hopefully they are the way forward in the annotation mess—therefore it makes sense to support them out-of-the-box, i.e. using them does not lead to errors.
Yes, one could add them as custom annotations (
-Dfb-contrib.ai.annotations
) but hopefully they are the way forward in the annotation mess—therefore it makes sense to support them out-of-the-box, i.e. using them does not lead to errors.
:D Nice optimism you have there. Shame if something happened to it...
If and when a standard actually becomes the standard, then it makes sense to support it out-of-the-box.
JSpecify - What is this
org.jspecify.annotations.Nullable