Package com.google.errorprone.matchers
Class IsNonNullMatcher
java.lang.Object
com.google.errorprone.matchers.IsNonNullMatcher
- All Implemented Interfaces:
Matcher<com.sun.source.tree.ExpressionTree>
,Serializable
public final class IsNonNullMatcher
extends Object
implements Matcher<com.sun.source.tree.ExpressionTree>
Matches expressions that can be statically determined to be non-null. The matcher should have few
if any false positives but has many, many false negatives.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(com.sun.source.tree.ExpressionTree tree, VisitorState state)