return false;
}
// Check the block for a return statement, if not, create the hint
BlockFunctionBody blockFunctionBody = (BlockFunctionBody) body;
if (!blockFunctionBody.accept(new ExitDetector())) {
errorReporter.reportErrorForNode(
HintCode.MISSING_RETURN,
returnType,
returnTypeType.getDisplayName());
return true;