Class Contains

java.lang.Object
com.google.errorprone.matchers.Contains
All Implemented Interfaces:
Matcher<Tree>, Serializable

public class Contains extends Object implements Matcher<Tree>
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: