boolean ( @Nullable GrCodeBlock block, GrMethod method, boolean endsInImplicitReturn) { if (block == null) { return true; } final GrStatement[] statements = block.getStatements(); for (final GrStatement statement : statements) { if (statementMayReturnBeforeRecursing(statement, method)) { return true; } if (statementDefinitelyRecurses(statement, method)) { return false; } } return endsInImplicitReturn; }