Class ContainmentMatchers
java.lang.Object
com.google.errorprone.bugpatterns.collectionincompatibletype.ContainmentMatchers
Matchers for methods which express containment, like
Collection.contains(java.lang.Object)
.-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable AbstractCollectionIncompatibleTypeMatcher.MatchResult
firstNonNullMatchResult
(com.sun.source.tree.ExpressionTree tree, VisitorState state)
-
Method Details
-
firstNonNullMatchResult
public static @Nullable AbstractCollectionIncompatibleTypeMatcher.MatchResult firstNonNullMatchResult(com.sun.source.tree.ExpressionTree tree, VisitorState state)
-