Class IsNonNullMatcher
java.lang.Object
com.google.errorprone.matchers.IsNonNullMatcher
- All Implemented Interfaces:
Matcher<ExpressionTree>, Serializable
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
Constructors -
Method Summary
-
Constructor Details
-
IsNonNullMatcher
public IsNonNullMatcher()
-
-
Method Details
-
matches
- Specified by:
matches
in interfaceMatcher<ExpressionTree>
-