summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnNull.html
blob: 70255c1e9440996a4e9bd4eaf3dec598050ff816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<body>
Reports return statements with <b>null</b> values.
While occasionally useful, this construct may make the code more prone
to failing with a <b>NullPointerException</b>, and often indicates that the
developer doesn't really understand the classes intended semantics.
<!-- tooltip end -->
<p>
Use the first control below to let this inspection ignore private methods.
<p>
Use bottom three controls to specify whether this inspection should report
<b>null</b> values on array returns, collection
object returns, plain object returns, or a combination of the three.
<p>

</body>
</html>