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
Modifier and TypeInterfaceDescriptionstatic enum
What kind a method symbol is, and what scopes apply to it. -
Method Summary
Modifier and TypeMethodDescriptiongetMethodKind
(M method) Returns the kind of the given method.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>
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.
-