On Fri, Jan 30, 2015 at 2:15 PM, Konrad Windszus <[email protected]> wrote:
> What about adding annotations like 
> https://code.google.com/p/jsr-305/source/browse/trunk/ri/src/main/java/javax/annotation/CheckForNull.java
>  
> <https://code.google.com/p/jsr-305/source/browse/trunk/ri/src/main/java/javax/annotation/CheckForNull.java>
>  to the Sling API?

+1

I wonder if there is a static analyser which can fail the build when
violations are found, e.g. immediately dereferencing the result of a
method which is @Nullable.

Robert

Reply via email to