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 class's intended semantics.

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

Use the bottom three checkboxes to specify whether null values on array returns, collection object returns, plain object returns, or a combination of the three should be reported.