Reports missing return statements at the end of methods with a non-void return type.