**Affects PMD Version:** 6.23.0 **Rule:** * https://docs.pmd-code.org/pmd-doc-6.55.0/pmd_rules_java_codestyle.html#defaultpackage * https://pmd.github.io/latest/pmd_rules_java_codestyle.html#commentdefaultaccessmodifier **Description:** Lombok makes fields of classes annotated with `@Value` `private final` by default. See https://projectlombok.org/features/Value **Code Sample demonstrating the issue:** ``` package com.test; import lombok.Value; @Value public class ValueClass { String foo; } ``` **Expected outcome:** There shouldn't be any violations reported; the rule should not apply to classes annotated with `@Value`. **Running PMD through:** *CLI*
Affects PMD Version:
6.23.0
Rule:
Description:
Lombok makes fields of classes annotated with
@Valueprivate finalby default. Seehttps://projectlombok.org/features/Value
Code Sample demonstrating the issue:
Expected outcome:
There shouldn't be any violations reported; the rule should not apply to classes annotated with
@Value.Running PMD through: CLI