Uses of Interface
com.google.errorprone.matchers.MultiMatcher
Package | Description |
---|---|
com.google.errorprone.matchers |
A predicate DSL for matching javac AST nodes.
|
-
Uses of MultiMatcher in com.google.errorprone.matchers
Classes in com.google.errorprone.matchers that implement MultiMatcher Modifier and Type Class Description class
AnnotationMatcher<T extends com.sun.source.tree.Tree>
Matches if the given annotation matcher matches all of or any of the annotations on the tree node.class
ChildMultiMatcher<T extends com.sun.source.tree.Tree,N extends com.sun.source.tree.Tree>
AMultiMatcher
that applies a matcher across multiple children of a single ancestor node.class
ConstructorOfClass
Applies the given matcher to the constructor(s) of the given class.class
HasArguments
Matches if the given matcher matches all of/any of the parameters to this method.class
MethodHasParameters
Matches if the given matcher matches all of/any of the parameters to this method.Fields in com.google.errorprone.matchers declared as MultiMatcher Modifier and Type Field Description static MultiMatcher<com.sun.source.tree.ClassTree,com.sun.source.tree.AnnotationTree>
JUnitMatchers. hasJUnit4TestRunner
Methods in com.google.errorprone.matchers that return MultiMatcher Modifier and Type Method Description static <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.