Annotation for method that return null

Hi,
I was wondering if there is a reason why no annotation attribute is available to indicate that a method returns null (and have Resharper provide a warning). This seems like it would be very useful so I'm surprised it is not included. Is there perhaps another way of achieving the same thing?

Cheers, JB

1 comment

The annotation attribute could be applicable here

--
Eugene Pasynkov
ReSharper Technical Lead
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


"JorgeBurgos" <no_reply@jetbrains.com> wrote in message
news:33542866.54281231822891608.JavaMail.clearspace@app4.labs.intellij.net...

Hi,
I was wondering if there is a reason why no annotation attribute is
available to indicate that a method returns null (and have Resharper
provide a warning). This seems like it would be very useful so I'm
surprised it is not included. Is there perhaps another way of achieving
the same thing?

>

Cheers, JB

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5230104#5230104



0

Please sign in to leave a comment.