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
All Methods Instance Methods Abstract Methods Default Methods 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 Detail
-
scopeMembers
Stream<S> scopeMembers(ResultUseRule.RuleScope scope, M method, C context)
Returns an ordered stream of elements in this scope relative to the givenmethod
.
-
getMethodKind
ResultUsePolicyEvaluator.MethodInfo.MethodKind getMethodKind(M method)
Returns the kind of the given method.
-
scopes
default com.google.common.collect.ImmutableList<ResultUseRule.RuleScope> scopes(M method)
Returns the scopes that apply for the given method.
-
-