GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Closed
#7198
Closed
[java] UnnecessaryFullyQualifiedName: False positive for lombok.Builder annotation#6731
#7198
Copy link
Labels
a:false-positivePMD flags a piece of code that is not problematic
Milestone
7.30.0

Description

@altaiezior
altaiezior
opened on May 28, 2026
Issue body actions

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

  1. altaiezior
    added
    a:false-positivePMD flags a piece of code that is not problematic
    on May 28, 2026
  2. adangel
    changed the title [-]UnnecessaryFullyQualifiedName when for lombok annotation[/-] [+][java] UnnecessaryFullyQualifiedName: False positive for lombok annotation[/+] on May 29, 2026
  3. cursor
    added a commit that references this issue on Oct 26, 2026

    [java] Fix pmd#6731: model Lombok @builder as a member class symbol

    This issue will close once commit da2e150 is merged into the 'main' branch.
    da2e150
  4. adangel
    changed the title [-][java] UnnecessaryFullyQualifiedName: False positive for lombok annotation[/-] [+][java] UnnecessaryFullyQualifiedName: False positive for lombok Builder annotation[/+] on Nov 6, 2026
  5. adangel
    changed the title [-][java] UnnecessaryFullyQualifiedName: False positive for lombok Builder annotation[/-] [+][java] UnnecessaryFullyQualifiedName: False positive for lombok.Builder annotation[/+] on Nov 6, 2026
  6. cursor
    added 6 commits that reference this issue on Nov 7, 2026

    [java] Fix pmd#6731: model Lombok @builder as a member class symbol

    This issue will close once commit b67d693 is merged into the 'main' branch.
    b67d693

    [java] Fix pmd#6731: name Lombok method builders after the return type

    This issue will close once commit fdec473 is merged into the 'main' branch.
    fdec473

    [java] Fix pmd#6731: model Lombok @builder as a member class symbol

    This issue will close once commit 15bf54b is merged into the 'main' branch.
    15bf54b

    [java] Fix pmd#6731: name Lombok method builders after the return type

    This issue will close once commit e0760e4 is merged into the 'main' branch.
    e0760e4

    [java] Fix pmd#6731: model Lombok @builder as a member class symbol

    This issue will close once commit 8933f6d is merged into the 'main' branch.
    8933f6d

    [java] Fix pmd#6731: name Lombok method builders after the return type

    This issue will close once commit 6a3fe12 is merged into the 'main' branch.
    6a3fe12
  7. adangel
    added this to the 7.30.0 milestone on Nov 12, 2026
  8. adangel
    closed this as completedin 01ea262on Nov 12, 2026
  9. UncleOwen
    added a commit that references this issue on Nov 12, 2026

    [java] Fix pmd#6731: Support lombok.Builder (fix UnnecessaryFullyQual…

    This issue will close once commit 01ea262 is merged into the 'main' branch.
    01ea262
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:false-positivePMD flags a piece of code that is not problematic

    Type

    No type

    Projects

    No projects

      Milestone

      • 7.30.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.