This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 153463 [details] Sample Code Given the attached method, Netbeans will warn that you are dereferencing a possible null pointer, even though the check has been done. The warning goes away if the line is placed before the class. I haven't checked to see if it is the same with @NonNull or others
This might be related to bug 269784, but I am not sure.