jspecify / jspecify

An artifact of fully-specified annotations to power static-analysis checks, beginning with nullness analysis.
http://jspecify.org
Apache License 2.0
429 stars 26 forks source link

Not possible to annotation a return enum @Nullable from a method #492

Open alexandrenavarro opened 2 months ago

alexandrenavarro commented 2 months ago

Not possible to annotation a return enum with @Nullable from a method (compilation error). Is it wanted?

kevinb9n commented 2 months ago

Hi, can you share the sample code?