On Wed, 06 Jun 2012 23:12:46 +0200, Ricky Clarkson <[email protected]> wrote:

Could some or all of this be inferred so we can statically detect possible
NPEs without having to add punctuation or annotations to our method
signatures?

@Nonnull etc... have runtime retention, that means that they make it possible to check for NPEs across methods. To me it's part of the value of those annotations, which is pretty good to avoid problems without searching for more complex stuff.


--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
[email protected]
http://tidalwave.it - http://fabriziogiudici.it

--
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to