Skip to content

Add a terrible test for InlineMeSuggester in anonymous classes. - #6026

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_964263575
Open

Add a terrible test for InlineMeSuggester in anonymous classes.#6026
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_964263575

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Add a terrible test for InlineMeSuggester in anonymous classes.

InlineMeSuggester currently suggests adding @InlineMe to @deprecated methods inside anonymous classes that override an interface method. Such methods have no external callers to migrate and should not receive an @InlineMe suggestion.

Add a unit test in SuggesterTest that asserts the current behavior with a TODO pointing to issue #5844 (in the spirit of[]

InlineMeSuggester currently suggests adding @InlineMe to @deprecated methods inside anonymous classes that override an interface method. Such methods have no external callers to migrate and should not receive an @InlineMe suggestion.

Add a unit test in SuggesterTest that asserts the current behavior with a TODO pointing to issue #5844 (in the spirit of[]

PiperOrigin-RevId: 964263575
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant