core/src/main/java/com/google/errorprone/bugpatterns/checkreturnvalue/ResultUseRule.java
final Stream<ResultUsePolicy> policies(
        MethodSymbol method, VisitorState state, ListMultimap<RuleScope, ResultUseRule> rules) {
      List<ResultUseRule> scopeRules = rules.get(this);
      return members(method)
          .flatMap(symbol -> scopeRules.stream().map(rule -> rule.evaluate(symbol, state)))
          .flatMap(Optional::stream);
    }
/** Returns an ordered stream of policies from rules in this scope. */
Returns an ordered stream of policies from rules in this scope.
Returns an ordered stream of policies from rules in this scope .
final Stream<ResultUsePolicy> policies(
        MethodSymbol method, VisitorState state, ListMultimap<RuleScope, ResultUseRule> rules) {
      List<ResultUseRule> scopeRules = rules.get(this);
      return members(method)
          .flatMap(symbol -> scopeRules.stream().map(rule -> rule.evaluate(symbol, state)))
          .flatMap(Optional::stream);
    }
final Stream < ResultUsePolicy > policies ( MethodSymbol method , VisitorState state , ListMultimap < RuleScope , ResultUseRule > rules ) { List < ResultUseRule > scopeRules = rules . get ( this ) ; return members ( method ) . flatMap ( symbol -> scopeRules . stream ( ) . map ( rule -> rule . evaluate ( symbol , state ) ) ) . flatMap ( Optional :: stream ) ; }
Returns an ordered stream of policies from rules in this scope.
Returns an ordered stream of policies from rules in this scope .