Interface MethodMatchers.InstanceMethodMatcher
- All Superinterfaces:
Matcher<ExpressionTree>, MethodMatchers.MethodMatcher, Serializable
- Enclosing class:
MethodMatchers
@Deprecated
public static interface MethodMatchers.InstanceMethodMatcher
extends MethodMatchers.MethodMatcher
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionanyClass()Deprecated.Match on any class.onClass(TypePredicate predicate) Deprecated.Match on types that satisfy the given predicate.onDescendantOf(ClassName className) Deprecated.Match on descendants of the given class.onDescendantOf(Supplier<com.sun.tools.javac.code.Type> classType) Deprecated.Match on descendants of the given type.onDescendantOf(String className) Deprecated.Match on descendants of the given fully-qualified type name.onDescendantOfAny(ClassName... classTypes) Deprecated.Match on types that are descendants of any of the given classes.onDescendantOfAny(Iterable<String> classTypes) Deprecated.Match on types that are descendants of any of the given types.onDescendantOfAny(String... classTypes) Deprecated.Match on types that are descendants of any of the given types.onExactClass(ClassName className) Deprecated.Match on the given class exactly.onExactClass(Supplier<com.sun.tools.javac.code.Type> classType) Deprecated.Match on the given type exactly.onExactClass(String className) Deprecated.Match on types with the given fully-qualified name.onExactClassAny(ClassName... classTypes) Deprecated.Match on types that are exactly the same as any of the given classes.onExactClassAny(Iterable<String> classTypes) Deprecated.Match on types that are exactly the same as any of the given types.onExactClassAny(String... classTypes) Deprecated.Match on types that are exactly the same as any of the given types.
-
Method Details
-
onClass
Deprecated.Match on types that satisfy the given predicate. -
onExactClass
Deprecated.Match on types with the given fully-qualified name. (e.g.java.lang.String) -
onExactClass
Deprecated.Match on the given class exactly. -
onExactClass
Deprecated.Match on the given type exactly. -
onExactClassAny
Deprecated.Match on types that are exactly the same as any of the given types. -
onExactClassAny
Deprecated.Match on types that are exactly the same as any of the given types. -
onExactClassAny
Deprecated.Match on types that are exactly the same as any of the given classes. -
onDescendantOf
Deprecated.Match on descendants of the given fully-qualified type name. -
onDescendantOf
Deprecated.Match on descendants of the given class. -
onDescendantOf
Deprecated.Match on descendants of the given type. -
onDescendantOfAny
Deprecated.Match on types that are descendants of any of the given types. -
onDescendantOfAny
Deprecated.Match on types that are descendants of any of the given classes. -
onDescendantOfAny
Deprecated.Match on types that are descendants of any of the given types. -
anyClass
-
Matcher<ExpressionTree>instead of referring directly to this type.