Interface MethodMatchers.MethodMatcher
- All Superinterfaces:
Matcher<com.sun.source.tree.ExpressionTree>
,Serializable
- All Known Subinterfaces:
MethodMatchers.AnyMethodMatcher
,MethodMatchers.ConstructorClassMatcher
,MethodMatchers.ConstructorMatcher
,MethodMatchers.InstanceMethodMatcher
,MethodMatchers.MethodClassMatcher
,MethodMatchers.MethodNameMatcher
,MethodMatchers.MethodSignatureMatcher
,MethodMatchers.ParameterMatcher
,MethodMatchers.StaticMethodMatcher
- Enclosing class:
- MethodMatchers
@Deprecated public static interface MethodMatchers.MethodMatcher extends Matcher<com.sun.source.tree.ExpressionTree>
Deprecated.
-
Method Summary
Modifier and Type Method Description Optional<MethodInvocationMatcher.Rule>
asRule()
Deprecated.A rule for expressing this matcher as a MethodInvocationMatcher, if possible.
-
Method Details
-
asRule
Optional<MethodInvocationMatcher.Rule> asRule()Deprecated.A rule for expressing this matcher as a MethodInvocationMatcher, if possible. If this matcher uses predicates not supported by the MethodInvocationMatcher evaluator, this method will return empty().
-
Matcher<ExpressionTree>
instead of referring directly to this type.