-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assertThat(...).as(...).isNotNull() is not recognized #877
Comments
Thanks for the report. The relevant code in NullAway is here: NullAway/nullaway/src/main/java/com/uber/nullaway/handlers/AssertionHandler.java Lines 59 to 75 in 5fbee1f
The logic is explicitly looking for an AST corresponding to @vladykin is it the case that any chain of method calls starting with We would welcome a PR for this one. |
AssertJ API is very rich, with a lot of things possible in the call chain between
|
NullAway recognizes the
assertThat(...).isNotNull()
(#301), but fails to recognize if the description is added. Please refer to the example below. NullAway version is 0.10.18.The text was updated successfully, but these errors were encountered: