jakartaee / common-annotations-api

Jakarta Annotations
https://eclipse.org/ee4j/ca
Other
51 stars 38 forks source link

Nullness annotations do not reflect the state of the art #110

Open stephan-herrmann opened 1 year ago

stephan-herrmann commented 1 year ago

Annotations @Nonnull and @Nullable are not specified with the level of detail that would be needed to make this a worthwhile new standard. Since more advanced approaches exist for many years, I suggest to coordinate with those parties having worked in this area.

Some issues with the existing annotations:

The most pressing issue in this area is the abundance of too many similar annotations. Adding one more set in jakarta only aggravates the problem.

Prior art that should be taken into consideration includes: