-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #740: Adding visitors for handling different types along with C…
…lassType in Generic Type invariance check (#806) - Description: Only ClassTypes are supported for checking the invariance of the nullability annotations for Generic types and hence TypeVisitors and a TreeVisitor are added to handle different scenarios like for example: ` Foo<Foo<@nullable String>[]> x = new Foo<Foo<String>[]>(); ` - Issue Number: 740 - All the tests in NullAwayJSpecifyGenericTests.java have passed for these changes. Fixes #740 --------- Co-authored-by: Manu Sridharan <[email protected]>
- Loading branch information
Showing
2 changed files
with
237 additions
and
101 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