Package com.google.errorprone.matchers
Class NullnessMatcher
java.lang.Object
com.google.errorprone.matchers.NullnessMatcher
- All Implemented Interfaces:
Matcher<com.sun.source.tree.ExpressionTree>
,Serializable
public class NullnessMatcher extends Object implements Matcher<com.sun.source.tree.ExpressionTree>
Matches an expression based on the result of the nullness dataflow analysis.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NullnessMatcher(Nullness expectedNullnessValue)
-
Method Summary
Modifier and Type Method Description boolean
matches(com.sun.source.tree.ExpressionTree expr, VisitorState state)