-
Notifications
You must be signed in to change notification settings - Fork 746
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When inspecting instantiations of anonymous classes for CheckReturnVa…
…lue'd ness, look at the @crv annotation of the constructor being called, instead of the synthetic constructor invented locally. is considered @CanIgnoreReturnValue or @CheckReturnValue (by a direct or indirect annotation), consider the anonymous class construction to be identically-annotated. RELNOTES=When creating an anonymous class where the superclass's constructor PiperOrigin-RevId: 439834216
- Loading branch information
1 parent
112b5d1
commit 3498bb9
Showing
3 changed files
with
117 additions
and
17 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