Uses of Enum
com.google.errorprone.bugpatterns.checkreturnvalue.ResultUseRule.RuleScope
-
Uses of ResultUseRule.RuleScope in com.google.errorprone.bugpatterns.checkreturnvalue
Modifier and TypeMethodDescriptionabstract ResultUseRule.RuleScope
ResultUseRule.Evaluation.scope()
The scope at which the evaluation was made.static ResultUseRule.RuleScope
Returns the enum constant of this type with the specified name.static ResultUseRule.RuleScope[]
ResultUseRule.RuleScope.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptiondefault com.google.common.collect.ImmutableList<ResultUseRule.RuleScope>
Returns the scopes that apply for the given method.final com.google.common.collect.ImmutableSet<ResultUseRule.RuleScope>
ResultUseRule.GlobalRule.scopes()
final com.google.common.collect.ImmutableSet<ResultUseRule.RuleScope>
ResultUseRule.MethodRule.scopes()
abstract com.google.common.collect.ImmutableSet<ResultUseRule.RuleScope>
ResultUseRule.scopes()
The scopes this rule applies to.final com.google.common.collect.ImmutableSet<ResultUseRule.RuleScope>
ResultUseRule.SymbolRule.scopes()
Modifier and TypeMethodDescriptionstatic <S> ResultUseRule.Evaluation<S>
ResultUseRule.Evaluation.create
(ResultUseRule<?, S> rule, ResultUseRule.RuleScope scope, S element, ResultUsePolicy policy) Creates a newResultUseRule.Evaluation
.final Optional<ResultUseRule.Evaluation<S>>
ResultUseRule.evaluate
(ResultUseRule.RuleScope scope, S symbol, C context) Evaluates the given symbol and optionally returns anResultUseRule.Evaluation
of it.ResultUsePolicyEvaluator.MethodInfo.scopeMembers
(ResultUseRule.RuleScope scope, M method, C context) Returns an ordered stream of elements in this scope relative to the givenmethod
.