Interface MethodMatchers.MethodClassMatcher
- All Superinterfaces:
Matcher<com.sun.source.tree.ExpressionTree>
,MethodMatchers.MethodMatcher
,Serializable
- Enclosing class:
- MethodMatchers
@Deprecated public static interface MethodMatchers.MethodClassMatcher extends MethodMatchers.MethodMatcher
Deprecated.
-
Method Summary
Modifier and Type Method Description MethodMatchers.MethodNameMatcher
named(String name)
Deprecated.Match methods with the given name.MethodMatchers.MethodNameMatcher
namedAnyOf(Iterable<String> names)
Deprecated.Match methods with any of the given names.MethodMatchers.MethodNameMatcher
namedAnyOf(String... names)
Deprecated.Match methods with any of the given names.MethodMatchers.MethodNameMatcher
withAnyName()
Deprecated.Match methods with any name.MethodMatchers.MethodNameMatcher
withNameMatching(Pattern pattern)
Deprecated.Match methods with a name that matches the given regular expression.MethodMatchers.MethodSignatureMatcher
withSignature(String signature)
Deprecated.Match methods with the given signature.
-
Method Details
-
named
Deprecated.Match methods with the given name. (e.g.toString
) -
namedAnyOf
Deprecated.Match methods with any of the given names. -
namedAnyOf
Deprecated.Match methods with any of the given names. -
withAnyName
MethodMatchers.MethodNameMatcher withAnyName()Deprecated.Match methods with any name. -
withNameMatching
Deprecated.Match methods with a name that matches the given regular expression. -
withSignature
Deprecated.Match methods with the given signature. The implementation uses javac internals to pretty-print the signatures, and the signature format is not well-specified. This matcher should be used with caution.Example:
format(java.lang.String,java.lang.Object...)
-
Matcher<ExpressionTree>
instead of referring directly to this type.