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.useMatcher<ExpressionTree>
instead of referring directly to this type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods 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 Detail
-
named
MethodMatchers.MethodNameMatcher named(String name)
Deprecated.Match methods with the given name. (e.g.toString
)
-
namedAnyOf
MethodMatchers.MethodNameMatcher namedAnyOf(String... names)
Deprecated.Match methods with any of the given names.
-
namedAnyOf
MethodMatchers.MethodNameMatcher namedAnyOf(Iterable<String> names)
Deprecated.Match methods with any of the given names.
-
withAnyName
MethodMatchers.MethodNameMatcher withAnyName()
Deprecated.Match methods with any name.
-
withNameMatching
MethodMatchers.MethodNameMatcher withNameMatching(Pattern pattern)
Deprecated.Match methods with a name that matches the given regular expression.
-
withSignature
MethodMatchers.MethodSignatureMatcher withSignature(String signature)
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...)
-
-