uber / NullAway

A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
MIT License
3.63k stars 293 forks source link

Fix handling of references to methods of array types and type variables #926

Closed msridhar closed 7 months ago

msridhar commented 7 months ago

After #920 we check the nullability of the qualifier expression of a method reference. We weren't correctly handling the cases where that expression was an array type or a type variable

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.09%. Comparing base (a42b3a8) to head (d095f4f). Report is 1 commits behind head on master.

:exclamation: Current head d095f4f differs from pull request most recent head 2a0a3fb. Consider uploading reports for the commit 2a0a3fb to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #926 +/- ## ========================================= Coverage 87.09% 87.09% - Complexity 1991 1992 +1 ========================================= Files 77 77 Lines 6430 6431 +1 Branches 1245 1246 +1 ========================================= + Hits 5600 5601 +1 Misses 422 422 Partials 408 408 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.