Return statements

Author: Semmle LGTM

import java

from ReturnStmt r
where r.getResult() instanceof NullLiteral
select r

Description

Finds return statements that return 'null'