import java from ReturnStmt r where r.getResult() instanceof NullLiteral select r
Finds return statements that return 'null'