ucr-riple / NullAwayAnnotator

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

Refines type argument annotation operations #252

Closed nimakarimipour closed 1 week ago

nimakarimipour commented 1 week ago

Previous to this PR, if a type-use annotation was requested to add by the Injector, it would add the annotation on all the type arguments and add the declaration recursively. With this PR, we can control exactly determine the location of arguments where should be annotated. It uses the index system to locate the target type arg.