Branch: refs/heads/main
Home: https://github.com/pmd/pmd
Commit: cdef01e0ab89d890a3a61c73b75cbd8d43e1fab3
https://github.com/pmd/pmd/commit/cdef01e0ab89d890a3a61c73b75cbd8d43e1fab3
Author: dev_Hakaze <[email protected]>
Date: 2026-08-13 (Thu, 13 Aug 2026)
Changed paths:
M docs/pages/release_notes.md
M
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java
M
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ImmutableField.xml
Log Message:
-----------
[java] ImmutableField: false positive on picocli @Option/@Parameters fields
(#6936)
[java] ImmutableField: ignore picocli @Option/@Parameters fields (fixes #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.
Co-authored-by: arimu1 <[email protected]>
Co-authored-by: Sören Glimm <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/pmd/pmd/settings/notifications
_______________________________________________
Pmd-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmd-commits