GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — [java] Fix #6925: ImmutableField: false positive on picocli @Option/@Parameters fields by arimu1 · Pull Request #6936 · pmd/pmd Conversation
Contributor
Describe the PRIgnore private fields annotated with picocli picocli injects option/parameter values into those fields at runtime (including when a Java initializer provides a default). Treating them as candidates for Related issuesReady?
Tests
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionspmd#6925) picocli injects values into fields annotated with CommandLine.Option or CommandLine.Parameters at runtime, so those fields should not be reported as candidates for final. Treat the annotations like the existing lombok.Setter field exclusion.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Compared to main: (comment created at 2026-08-13 20:08:47+00:00 for f9cba69) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
# Conflicts: # docs/pages/release_notes.md
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Guess we can make this configurable next time.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[java] ImmutableField: False positive on picocli annotated fields
There was an error while loading. Please reload this page.