-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove method parameter protection analysis (#622)
This PR removes the method parameter protection feature from NullAway. This feature enables us to make `NullAway` to assume all method parameters at given index are `@Nullable` while processing the method bodies. However, this feature is not used by the other tool ([Annotator](https://github.com/nimakarimipour/NullAwayAnnotator)) which had the first motivation toward implementing this feature. In previous versions of [Annotator](https://github.com/nimakarimipour/NullAwayAnnotator), processing of method parameters was performed in a different manner compared to all other code locations and was using this specific feature. However, in every version upper that `1.3.0-LOCAL` this feature is not used anymore. After this PR the following entity will be removed from the config `.xml` file: ```xml <paramTest "active": boolean, "index": i> ```
- Loading branch information
1 parent
2c98f2b
commit 58029f8
Showing
5 changed files
with
0 additions
and
170 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
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
60 changes: 0 additions & 60 deletions
60
nullaway/src/main/java/com/uber/nullaway/handlers/MethodParamNullableInjectorHandler.java
This file was deleted.
Oops, something went wrong.
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