Interface MethodMatchers.MethodNameMatcher
- All Superinterfaces:
Matcher<ExpressionTree>, MethodMatchers.MethodMatcher, Serializable
- Enclosing class:
MethodMatchers
@Deprecated
public static interface MethodMatchers.MethodNameMatcher
extends MethodMatchers.MethodMatcher
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Match methods with no formal parameters.withParameters(Iterable<String> parameters) Deprecated.Match methods whose formal parameters have the given types.withParameters(String first, String... rest) Deprecated.Match methods whose formal parameters have the given types.withParametersMatching(ParameterPredicate first, ParameterPredicate... rest) Deprecated.Match methods whose formal parameters have the given types.withParametersMatching(Iterable<ParameterPredicate> parameters) Deprecated.Match methods whose formal parameters have the given types.withParametersOfType(Supplier<com.sun.tools.javac.code.Type> first, Supplier<com.sun.tools.javac.code.Type>... rest) Deprecated.Match methods whose formal parameters have the given types.withParametersOfType(Iterable<Supplier<com.sun.tools.javac.code.Type>> parameters) Deprecated.Match methods whose formal parameters have the given types.
-
Method Details
-
withNoParameters
MethodMatchers.ParameterMatcher withNoParameters()Deprecated.Match methods with no formal parameters. -
withParameters
Deprecated.Match methods whose formal parameters have the given types. -
withParameters
Deprecated.Match methods whose formal parameters have the given types. -
withParametersOfType
MethodMatchers.ParameterMatcher withParametersOfType(Iterable<Supplier<com.sun.tools.javac.code.Type>> parameters) Deprecated.Match methods whose formal parameters have the given types. -
withParametersOfType
MethodMatchers.ParameterMatcher withParametersOfType(Supplier<com.sun.tools.javac.code.Type> first, Supplier<com.sun.tools.javac.code.Type>... rest) Deprecated.Match methods whose formal parameters have the given types. -
withParametersMatching
MethodMatchers.ParameterMatcher withParametersMatching(ParameterPredicate first, ParameterPredicate... rest) Deprecated.Match methods whose formal parameters have the given types.Unlike other methods for matching on parameters which consider erased types, this method provides access to generic types. Note also that other methods like
TypePredicates.isExactType(String)still only compare erased types. -
withParametersMatching
Deprecated.Match methods whose formal parameters have the given types.Unlike other methods for matching on parameters which consider erased types, this method provides access to generic types. Note also that other methods like
TypePredicates.isExactType(String)still only compare erased types.
-
Matcher<ExpressionTree>instead of referring directly to this type.