Class Contains
java.lang.Object
com.google.errorprone.matchers.Contains
- All Implemented Interfaces:
Matcher<com.sun.source.tree.Tree>
,Serializable
A matcher that recursively inspects a tree, applying the given matcher to all levels of each tree
and returning
true
if any match is found.
This matcher may be slow. Please avoid using it if there is any other way to implement your check.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(com.sun.source.tree.Tree tree, VisitorState state)