-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This PR resolves #55 by adding a configuration mode which if activated, all remaining errors will be resolved with following the rules below: 1. Enclosing method of triggered errors will be marked as `@NullUnmarked`. 2. Uninitialized fields (inline or in constructor) will be annotated as `@SuppressWarnings("NullAway.Init")`. 3. Explicit `@Nullable` assignments to fields will be annotated as `@SuppressWarnings("NullAway")`. With this PR, the target module will enroll into NullAway with no triggered errors. To enable this mode, `cli` flag below must be passed to Annotator: ``` -fr or --force-resolve [followed by the "@NullUnmarked" fully qualified name] ```
- Loading branch information
1 parent
cbc7bea
commit 5f57920
Showing
47 changed files
with
1,274 additions
and
159 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
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
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
Oops, something went wrong.