Interface ResultUsePolicyEvaluator.MethodInfo<C,S,M extends S>
- Type Parameters:
C
- the type of the context object used during evaluationS
- the type of symbolsM
- the type of method symbols
- Enclosing class:
- ResultUsePolicyEvaluator<C,S,M extends S>
public static interface ResultUsePolicyEvaluator.MethodInfo<C,S,M extends S>
Delegate to return information about a method symbol.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ResultUsePolicyEvaluator.MethodInfo.MethodKind
What kind a method symbol is, and what scopes apply to it. -
Method Summary
Modifier and Type Method Description ResultUsePolicyEvaluator.MethodInfo.MethodKind
getMethodKind(M method)
Returns the kind of the given method.Stream<S>
scopeMembers(ResultUseRule.RuleScope scope, M method, C context)
Returns an ordered stream of elements in this scope relative to the givenmethod
.default com.google.common.collect.ImmutableList<ResultUseRule.RuleScope>
scopes(M method)
Returns the scopes that apply for the given method.
-
Method Details
-
scopeMembers
Returns an ordered stream of elements in this scope relative to the givenmethod
. -
getMethodKind
Returns the kind of the given method. -
scopes
Returns the scopes that apply for the given method.
-