[java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor #1488
Labels
a:false-positive
PMD flags a piece of code that is not problematic
Milestone
Affects PMD Version:
6.9.0+
7.0.0
Rule: MissingStaticMethodInNonInstantiatableClass
Description:
Using Lomboks Builder annotation on a private constructor triggers MissingStaticMethodInNonInstantiatableClass altough the static builder() method is generated and can be used normally.
Code Sample demonstrating the issue:
Running PMD through: [Gradle 3.5]
The text was updated successfully, but these errors were encountered: