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 TypeMethodDescriptionDeprecated.Match methods with the given name.namedAnyOf
(Iterable<String> names) Deprecated.Match methods with any of the given names.namedAnyOf
(String... names) Deprecated.Match methods with any of the given names.Deprecated.Match methods with any name.withNameMatching
(Pattern pattern) Deprecated.Match methods with a name that matches the given regular expression.withSignature
(String signature) Deprecated.The implementation uses javac internals to pretty-print the signatures, and the signature format is not well-specified.
-
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
-
withNameMatching
Deprecated.Match methods with a name that matches the given regular expression. -
withSignature
Deprecated.The implementation uses javac internals to pretty-print the signatures, and the signature format is not well-specified.Match methods with the given signature.Example:
format(java.lang.String,java.lang.Object...)
-
Matcher<ExpressionTree>
instead of referring directly to this type.