Interface MethodMatchers.InstanceMethodMatcher
- All Superinterfaces:
Matcher<com.sun.source.tree.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
(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
(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
(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
(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 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. -
onDescendantOf
Deprecated.Match on descendants of the given fully-qualified type name. -
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 types. -
anyClass
-
Matcher<ExpressionTree>
instead of referring directly to this type.