Maybe it doesn’t support it yet. Will try to find out.

Gj

On Fri, 25 Jun 2021 at 04:39, Owen Thomas <owen.paul.tho...@gmail.com>
wrote:

> I'm using NB 12.4 with JDK 16 and I have been reading a bit of the
> annotations article from the newest Java Magazine. I thought I'd fiddle
> with the @Nonnull annotation, so I put one in a method's declaration where
> I thought it needed to go so I could indicate that a parameter needed a
> non-null value:
>
> protected boolean checkEqual(@Nonnull SU subscription){
>
> Netbeans complains that it cannot find the symbol @Nonnull, and it does
> not give me the option to add an import.
>
> Why does this happen?
>

Reply via email to