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

Extract methods in StreamNullabilityPropagator #944

Closed msridhar closed 3 months ago

msridhar commented 6 months ago
          Not for this PR, but wonder if as a follow up you want to extract the other two cases of this if into their own methods too, with `onMatchMethodInvocation(...)` as just a dispatcher.

_Originally posted by @lazaroclapp in https://github.com/uber/NullAway/pull/938#discussion_r1536699651_

etrandafir93 commented 3 months ago

hello @msridhar, if this is still needed - I have created a small PR and applied the changes suggested in the initial review.

If you have time to take a look, let me know what you think! Cheers, Emanuel