Reports return statements with null values. While occasionally useful, this construct may make the code more prone to failing with a NullPointerException, and often indicates that the developer doesn't really understand the classes intended semantics.

Use the first control below to let this inspection ignore private methods.

Use bottom three controls to specify whether this inspection should report null values on array returns, collection object returns, plain object returns, or a combination of the three.