-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
InferredJARModelsHandler
(#1079)
Now, all logic for parsing loading `astubx` files is consolidated into the `LibraryModelsHandler.ExternalStubxLibraryModels` class and is uniform for `astubx` files generated via JarInfer or from source code, which will ease future bug fixes and changes. We copied over the logic from `InferredJARModelsHandler` for loading Android SDK models if present. We also update the logic for `ExternalStubxLibraryModels.nonNullParameters()` and `ExternalStubxLibraryModels.nullableReturns()` to pull in all the relevant info from the parsed `astubx` file. Fixes #1072
- Loading branch information
Showing
4 changed files
with
100 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
244 changes: 0 additions & 244 deletions
244
nullaway/src/main/java/com/uber/nullaway/handlers/InferredJARModelsHandler.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.