Finds return statements that return 'null'

import java

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