Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctor annotated with @AssistedInject reported as unused #3174

Open
davido opened this issue May 6, 2022 · 0 comments
Open

Ctor annotated with @AssistedInject reported as unused #3174

davido opened this issue May 6, 2022 · 0 comments

Comments

@davido
Copy link
Contributor

davido commented May 6, 2022

Building Gerrit with Bazel@Head reporting most if ctors annotated with @AssistedInject as unused.

To reproduce, clone https://gerrit.googlesource.com/gerrit recursively and run with Bazel@HEAD: $ bazeldev build release.

This related change: [1] that added @SuppressWarnings("UnusedMethod") to affected ctors.

[1] https://gerrit-review.googlesource.com/c/gerrit/+/335734

hanwen pushed a commit to GerritCodeReview/gerrit that referenced this issue May 9, 2022
The most recent Bazel version is flagging assisted inject methods as
unused.

Details: google/error-prone#3174
Release-Notes: skip
Change-Id: Ibcdb2e509c8a48a9dd0824eddaf09f519d1959c1
hanwen pushed a commit to GerritCodeReview/gerrit that referenced this issue Dec 19, 2022
The most recent Bazel version is flagging assisted inject methods as
unused.

Details: google/error-prone#3174
Release-Notes: skip
Forward-Compatible: checked
Change-Id: Ibcdb2e509c8a48a9dd0824eddaf09f519d1959c1
(cherry picked from commit 5ea0b4a)
hanwen pushed a commit to GerritCodeReview/gerrit that referenced this issue May 11, 2023
The most recent Bazel version is flagging assisted inject methods as
unused.

Details: google/error-prone#3174
Forward-Compatible: checked
Release-Notes: skip
Change-Id: Ibcdb2e509c8a48a9dd0824eddaf09f519d1959c1
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

No branches or pull requests

1 participant