Interface MethodMatchers.StaticMethodMatcher
-
- All Superinterfaces:
Matcher<com.sun.source.tree.ExpressionTree>
,MethodMatchers.MethodMatcher
,Serializable
- Enclosing class:
- MethodMatchers
@Deprecated public static interface MethodMatchers.StaticMethodMatcher 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.MethodClassMatcher
anyClass()
Deprecated.Match on any class.MethodMatchers.MethodClassMatcher
onClass(TypePredicate predicate)
Deprecated.Match on types that satisfy the given predicate.MethodMatchers.MethodClassMatcher
onClass(Supplier<com.sun.tools.javac.code.Type> classType)
Deprecated.Match on the given type exactly.MethodMatchers.MethodClassMatcher
onClass(String className)
Deprecated.Match on types with the given fully-qualified name.MethodMatchers.MethodClassMatcher
onClassAny(Iterable<String> classNames)
Deprecated.Match on types that are equal to any of the given types.MethodMatchers.MethodClassMatcher
onClassAny(String... classNames)
Deprecated.Match on types that are equal to any of the given types.MethodMatchers.MethodClassMatcher
onDescendantOf(Supplier<com.sun.tools.javac.code.Type> classType)
Deprecated.Match on descendants of the given type.MethodMatchers.MethodClassMatcher
onDescendantOf(String className)
Deprecated.Match on descendants of the given fully-qualified type name.MethodMatchers.MethodClassMatcher
onDescendantOfAny(Iterable<String> classTypes)
Deprecated.Match on types that are descendants of any of the given types.MethodMatchers.MethodClassMatcher
onDescendantOfAny(String... classTypes)
Deprecated.Match on types that are descendants of any of the given types.
-
-
-
Method Detail
-
onClass
MethodMatchers.MethodClassMatcher onClass(TypePredicate predicate)
Deprecated.Match on types that satisfy the given predicate.
-
onClass
MethodMatchers.MethodClassMatcher onClass(String className)
Deprecated.Match on types with the given fully-qualified name. (e.g.java.lang.String
)
-
onClass
MethodMatchers.MethodClassMatcher onClass(Supplier<com.sun.tools.javac.code.Type> classType)
Deprecated.Match on the given type exactly.
-
onClassAny
MethodMatchers.MethodClassMatcher onClassAny(Iterable<String> classNames)
Deprecated.Match on types that are equal to any of the given types.
-
onClassAny
MethodMatchers.MethodClassMatcher onClassAny(String... classNames)
Deprecated.Match on types that are equal to any of the given types.
-
onDescendantOf
MethodMatchers.MethodClassMatcher onDescendantOf(String className)
Deprecated.Match on descendants of the given fully-qualified type name.
-
onDescendantOf
MethodMatchers.MethodClassMatcher onDescendantOf(Supplier<com.sun.tools.javac.code.Type> classType)
Deprecated.Match on descendants of the given type.
-
onDescendantOfAny
MethodMatchers.MethodClassMatcher onDescendantOfAny(String... classTypes)
Deprecated.Match on types that are descendants of any of the given types.
-
onDescendantOfAny
MethodMatchers.MethodClassMatcher onDescendantOfAny(Iterable<String> classTypes)
Deprecated.Match on types that are descendants of any of the given types.
-
anyClass
MethodMatchers.MethodClassMatcher anyClass()
Deprecated.Match on any class.
-
-