Skip to content

Refactor ChainingConstructorIgnoresParameter to not store mutable state in BugChecker fields.#5786

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_912536575
May 8, 2026
Merged

Refactor ChainingConstructorIgnoresParameter to not store mutable state in BugChecker fields.#5786
copybara-service[bot] merged 1 commit intomasterfrom
test_912536575

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

Refactor ChainingConstructorIgnoresParameter to not store mutable state in BugChecker fields.

Checkers shouldn't do that; I just didn't know better at the time.

Future work in this vein: FloggerRequiredModifiers.

This CL also fixes a bug that caused a @SuppressWarnings annotation on a callee constructor to suppress warnings in its caller.

…tate in `BugChecker` fields.

Checkers shouldn't do that; I just didn't know better at the time.

Future work in this vein: `FloggerRequiredModifiers`.

This CL also fixes a [bug](http://sponge2/682f43a9-c73c-4a4f-9924-d8f09888ef06) that caused a `@SuppressWarnings` annotation on a callee constructor to suppress warnings in its caller.

PiperOrigin-RevId: 912658003
@copybara-service copybara-service Bot merged commit 6f96cef into master May 8, 2026
@copybara-service copybara-service Bot deleted the test_912536575 branch May 8, 2026 20:08
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