Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

When working with Lombok, SeaLights reports quality risks on its generated code.

Solution

By default, SeaLights ignores SeaLights has the ability to ignore Lombok code if Lombok annotations are added to the generated code.
In order to get Lombok to generate these annotations, do so, you need to have Lombok generate the needed annotations, by setting the flag lombok.addLombokGeneratedAnnotation should be set to true in the Lombok configuration itself.

This can be done bu by updating the lombok.config file with the following entry:

Code Block
titlelombok.config
lombok.addLombokGeneratedAnnotation = true
Info

...

Please refer to https://projectlombok.org/features/configuration for more details

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1422e
sortmodified
showSpacefalsesortmodified
reversetrue
typepage
cqllabel in ( "tests" , "java" , "powermock" , "coverage" ) and type = "page" and space = "SUP"
labelsPowerMock Java Tests Coverage

...

Page Properties
hiddentrue


Related issues