ucr-riple / NullAwayAnnotator

A tool to help adapting code bases to NullAway type system.
MIT License
13 stars 6 forks source link

Update parse method in Injector to handle null path as argument #227

Closed raghuganapathyUCR closed 8 months ago

raghuganapathyUCR commented 8 months ago

@nimakarimipour To mitigate the Injector crashes observed in testing on micronaut, I have updated the parse method to explicitly return null when a NoSuchFileException occurs.

I've tested these changes on micronaut and litiengine, observing successful annotator runs