Uses of Enum
com.google.errorprone.matchers.ChildMultiMatcher.MatchType
-
Uses of ChildMultiMatcher.MatchType in com.google.errorprone.matchers
Modifier and TypeMethodDescriptionstatic ChildMultiMatcher.MatchType
Returns the enum constant of this type with the specified name.static ChildMultiMatcher.MatchType[]
ChildMultiMatcher.MatchType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic <T extends com.sun.source.tree.Tree>
MultiMatcher<T, com.sun.source.tree.AnnotationTree> Matchers.annotations
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.AnnotationTree> annotationMatcher) Matches if the given annotation matcher matches all of or any of the annotations on this tree node.static MultiMatcher
<com.sun.source.tree.ClassTree, com.sun.source.tree.MethodTree> Matchers.constructor
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.MethodTree> constructorMatcher) Matches a class in which any of/all of its constructors match the given constructorMatcher.static MultiMatcher
<com.sun.source.tree.MethodInvocationTree, com.sun.source.tree.ExpressionTree> Matchers.hasArguments
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.ExpressionTree> argumentMatcher) Matches if the given matcher matches all of/any of the arguments to this method invocation.static MultiMatcher
<com.sun.source.tree.MethodTree, com.sun.source.tree.VariableTree> Matchers.methodHasParameters
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.VariableTree> parameterMatcher) Matches if the given matcher matches all of/any of the parameters to this method.static Matcher
<com.sun.source.tree.ExpressionTree> Matchers.methodInvocation
(Matcher<com.sun.source.tree.ExpressionTree> methodSelectMatcher, ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.ExpressionTree> methodArgumentMatcher) Matches an AST node if it is a method invocation and the given matchers match.ModifierConstructorDescriptionAnnotationMatcher
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.AnnotationTree> nodeMatcher) ChildMultiMatcher
(ChildMultiMatcher.MatchType matchType, Matcher<N> nodeMatcher) ConstructorOfClass
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.MethodTree> nodeMatcher) HasArguments
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.ExpressionTree> nodeMatcher) MethodHasParameters
(ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.VariableTree> nodeMatcher) MethodInvocation
(Matcher<com.sun.source.tree.ExpressionTree> methodSelectMatcher, ChildMultiMatcher.MatchType matchType, Matcher<com.sun.source.tree.ExpressionTree> methodArgumentMatcher) Creates a new matcher for method invocations based on a method select and an argument matcher.