Interface MethodMatchers.StaticMethodMatcher
- All Superinterfaces:
Matcher<ExpressionTree>, MethodMatchers.MethodMatcher, Serializable
- Enclosing class:
MethodMatchers
@Deprecated
public static interface MethodMatchers.StaticMethodMatcher
extends MethodMatchers.MethodMatcher
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionanyClass()Deprecated.Match on any class.Deprecated.Match on the given class exactly.onClass(TypePredicate predicate) Deprecated.Match on types that satisfy the given predicate.Deprecated.Match on the given type exactly.Deprecated.Match on types with the given fully-qualified name.onClassAny(ClassName... classNames) Deprecated.Match on types that are equal to any of the given classes.onClassAny(Iterable<String> classNames) Deprecated.Match on types that are equal to any of the given types.onClassAny(String... classNames) Deprecated.Match on types that are equal to any of the given types.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.
-
Method Details
-
onClass
Deprecated.Match on types that satisfy the given predicate. -
onClass
Deprecated.Match on types with the given fully-qualified name. (e.g.java.lang.String) -
onClass
Deprecated.Match on the given class exactly. -
onClass
Deprecated.Match on the given type exactly. -
onClassAny
Deprecated.Match on types that are equal to any of the given types. -
onClassAny
Deprecated.Match on types that are equal to any of the given types. -
onClassAny
Deprecated.Match on types that are equal to 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.