GeezerVison is showing github.com — [java] UnnecessaryFullyQualifiedName: False positive for lombok.Builder annotation · Issue #6731 · pmd/pmd
[java] UnnecessaryFullyQualifiedName: False positive for lombok.Builder annotation #6731
Description
Affects PMD Version: 7.24.0
Rule: UnnecessaryFullyQualifiedName
Description:
Code Sample demonstrating the issue:
@Value
@Builder(builderClassName='Builder')
class A {
@lombok.Builder.Default
String value = ""
Expected outcome:
PMD reports a violation at line ..., but that's wrong. That's a false positive.
Here since my builder class name is Builder I am being reported that I should not use fully qualified class name but I don't have any other option. So this becomes a false postive and can be corrected
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other] maven
Activity
changed the title
[-]UnnecessaryFullyQualifiedName when for lombok annotation[/-] [+][java] UnnecessaryFullyQualifiedName: False positive for lombok annotation[/+] on May 29, 2026added a commit that references this issue
on Oct 26, 2026This issue will close once commit da2e150 is merged into the 'main' branch.da2e150 changed the title
[-][java] UnnecessaryFullyQualifiedName: False positive for lombok annotation[/-] [+][java] UnnecessaryFullyQualifiedName: False positive for lombok Builder annotation[/+] on Nov 6, 2026changed the title
[-][java] UnnecessaryFullyQualifiedName: False positive for lombok Builder annotation[/-] [+][java] UnnecessaryFullyQualifiedName: False positive for lombok.Builder annotation[/+] on Nov 6, 2026added 6 commits that reference this issue
on Nov 7, 2026This issue will close once commit b67d693 is merged into the 'main' branch.b67d693 This issue will close once commit fdec473 is merged into the 'main' branch.fdec473 This issue will close once commit 15bf54b is merged into the 'main' branch.15bf54b This issue will close once commit e0760e4 is merged into the 'main' branch.e0760e4 This issue will close once commit 8933f6d is merged into the 'main' branch.8933f6d This issue will close once commit 6a3fe12 is merged into the 'main' branch.6a3fe12 added a commit that references this issue
on Nov 12, 2026This issue will close once commit 01ea262 is merged into the 'main' branch.01ea262
Metadata
Metadata
Development
No branches or pull requestsIssue actions