Bump com.google.errorprone:error_prone_annotations from 2.52.0 to 2.53.0 in /java #8736
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8736"
general
weight: 0.35
ca61688
Bumps com.google.errorprone:error_prone_annotations from 2.52.0 to 2.53.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_annotations's releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.53.0</h2>
<p>New checks:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/BootclasspathShadowing"><code>BootclasspathShadowing</code></a>: Flag top-level class declarations whose binary name shadows a platform or bootclasspath type (disabled by default).</li>
<li><a href="https://errorprone.info/bugpattern/DiscouragedHashKey"><code>DiscouragedHashKey</code></a>: Configurable check for hash-based containers keyed on types (or their subtypes) specified via <code>-XepOpt:DiscouragedHashKey:Types</code> (no-op unless configured).</li>
</ul>
<p>Other changes:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/EqualsHashCode"><code>EqualsHashCode</code></a>: Flag classes that override <code>hashCode</code> without overriding <code>equals</code>, gated by <code>-XepOpt:EqualsHashCode:CheckHashCodeWithoutEquals</code> (enabled by default) (<a href="https://redirect.github.com/google/error-prone/issues/129">#129</a>).</li>
<li><a href="https://errorprone.info/bugpattern/MustBeClosedChecker"><code>MustBeClosedChecker</code></a>: Enforce <code>@MustBeClosed</code> on method and constructor references.</li>
<li><a href="https://errorprone.info/bugpattern/URLEqualsHashCode"><code>URLEqualsHashCode</code></a>: Rebuild on the shared equality and hash-key analysis engine to also check <code>Multimap</code>, <code>Multiset</code>, <code>Stream.collect</code>, direct equality, assertions, and containment, while ignoring identity and sorted containers.</li>
<li><a href="https://errorprone.info/bugpattern/ImpossibleNullComparison"><code>ImpossibleNullComparison</code></a>: Flag impossible null comparisons via <code>Objects.equals</code>, <code>Objects.isNull</code>, and <code>Objects.nonNull</code>.</li>
<li><a href="https://errorprone.info/bugpattern/TruthIncompatibleType"><code>TruthIncompatibleType</code></a>: Check Guava <code>Table</code> assertions.</li>
<li><a href="https://errorprone.info/bugpattern/PatternMatchingInstanceof"><code>PatternMatchingInstanceof</code></a>: Suggest <code>instanceof Foo<?> foo</code> for raw <code>instanceof Foo</code> checks.</li>
<li><a href="https://errorprone.info/bugpattern/CompileTimeConstant"><code>CompileTimeConstant</code></a>: Recognize Guava <code>ImmutableMap.of</code>, <code>ImmutableMultiset.of</code>, <code>ImmutableSortedSet.of</code>, and <code>ImmutableSortedMap.of</code>, as well as JDK <code>List.of</code>, <code>Set.of</code>, and <code>Map.of</code>.</li>
<li><a href="https://errorprone.info/bugpattern/Immutable"><code>Immutable</code></a>: Add Gson and Guava <code>TypeToken</code> to <code>WellKnownMutability</code>, and stop caching negative symbol and type lookups across a compilation unit so lazily completed supertypes are resolved reliably.</li>
<li><a href="https://errorprone.info/bugpattern/PreconditionsCheckNotNullRepeated"><code>PreconditionsCheckNotNullRepeated</code></a>: Also check Guava's <code>Verify.verifyNotNull</code>.</li>
<li><a href="https://errorprone.info/bugpattern/LambdaFunctionalInterface"><code>LambdaFunctionalInterface</code></a>: Only match <code>Integer</code>, <code>Long</code>, and <code>Double</code> type arguments instead of all <code>Number</code> subtypes.</li>
<li><a href="https://errorprone.info/bugpattern/EqualsIncompatibleType"><code>EqualsIncompatibleType</code></a> / <code>TypeCompatibility</code>: Avoid false positives with incomplete classpaths.</li>
<li><a href="https://errorprone.info/bugpattern/LoopConditionChecker"><code>LoopConditionChecker</code></a> / <a href="https://errorprone.info/bugpattern/TimeUnitConversionChecker"><code>TimeUnitConversionChecker</code></a> / <a href="https://errorprone.info/bugpattern/InlineTrivialConstant"><code>InlineTrivialConstant</code></a> / <a href="https://errorprone.info/bugpattern/NonAtomicVolatileUpdate"><code>NonAtomicVolatileUpdate</code></a>: Recognize compile-time constants in loop conditions (<a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>) and <code>TimeUnit</code> conversions (<a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a>), and unwrap parenthesized expressions in <code>InlineTrivialConstant</code> (<a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>) and <code>NonAtomicVolatileUpdate</code> (<a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>).</li>
<li><a href="https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch"><code>StatementSwitchToExpressionSwitch</code></a> / <a href="https://errorprone.info/bugpattern/IfChainToSwitch"><code>IfChainToSwitch</code></a>: Fix dead-code deletion after <code>return switch</code> and consolidate reachability handling.</li>
<li>Performance: Evaluate <code>MethodMatchers</code> constraints in selectivity order, optimize <code>SuppressionInfo</code>, and reduce per-call overhead across <code>CheckReturnValue</code>, <code>DoNotCall</code>, <code>ParameterName</code>, <code>UnusedMethod</code>, <code>AlmostJavadoc</code>, and several other checks.</li>
<li>Check API: Validate package names with <code>SourceVersion.isName</code> in <code>Matchers.packageStartsWith</code>, and document that <code>ASTHelpers.getSymbol(Tree)</code> returns <code>null</code> for parenthesized expressions (<a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>).</li>
</ul>
<p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>, <a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>, <a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>, <a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>, <a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a></p>
<p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.0">https://github.com/google/error-prone/compare/v2.52.0...v2.53.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/error-prone/commit/5c3574f9d796d44b95154b865d268f102104a015"><code>5c3574f</code></a> Release Error Prone 2.53.0</li>
<li><a href="https://github.com/google/error-prone/commit/8138d15d8204c1b9f04caa888f706e7b0bd25635"><code>8138d15</code></a> Fix NPE in PatternMatchingInstanceof on type variables and raw arrays</li>
<li><a href="https://github.com/google/error-prone/commit/496e723f03f60e56fefe9860849ef54a1799214b"><code>496e723</code></a> Avoid <code>TypeCompatibility</code> false positives with incomplete classpaths.</li>
<li><a href="https://github.com/google/error-prone/commit/b8bf6ba8f7f5af5544e517162b32456e1afadd24"><code>b8bf6ba</code></a> Ignore explicit constructor invocations in
UnusedReturnValueMatcher.isReturn...</li><li><a href="https://github.com/google/error-prone/commit/c9bbbdb97e9e64801dfd910fd586bddfba126f99"><code>c9bbbdb</code></a> Reject invalid package names in Matchers.packageStartsWith</li>
<li><a href="https://github.com/google/error-prone/commit/e14c5e601037c22c9f1517934768891c877d2fb0"><code>e14c5e6</code></a> Make TruthIncompatibleType check <code>Table</code> assertions.</li>
<li><a href="https://github.com/google/error-prone/commit/beb8f899f3f1b9633e7bb2b00cc04044953f32f9"><code>beb8f89</code></a> Bump org.checkerframework:checker-qual from 4.3.1 to 4.4.0 in the dependencie...</li>
<li><a href="https://github.com/google/error-prone/commit/f72c29da0eb4b0028294b3e93a9ab1bebb60612a"><code>f72c29d</code></a> Flag impossible null comparisons via <code>Objects.equals</code>, <code>isNull</code>, and <code>nonNull</code>.</li>
<li><a href="https://github.com/google/error-prone/commit/d96ec281cd9c588b771a7ab69ad8a7dd2c503e0a"><code>d96ec28</code></a> Fix some bugs in <code>isLikelyToBePublicApi</code>.</li>
<li><a href="https://github.com/google/error-prone/commit/fb56246c8fb2ff50029d81dd14ec94e6e016607f"><code>fb56246</code></a> Only match Integer, Long, and Double in LambdaFunctionalInterface.</li>
<li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.0">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
will rebase this PRwill recreate this PR, overwriting any edits that have been made to itwill show all of the ignore conditions of the specified dependencywill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)</details>