Skip to content

Commit f90bfe8

Browse files
committed
Show how to disable SuppressWarnings("all") in Lombok.
1 parent 83846a5 commit f90bfe8

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,11 @@ lombok.addLombokGeneratedAnnotation = true
275275
```
276276

277277
By default, Lombok suppresses all warnings in the code it generates. If you
278-
want to typecheck the code that Lombok generates, use the `suppressLombokWarnings`
279-
configuration key:
278+
want to typecheck the code that Lombok generates, set the `addSuppressWarnings`
279+
to false:
280280

281-
```gradle
282-
checkerFramework {
283-
suppressLombokWarnings = false
284-
}
281+
```config
282+
lombok.addSuppressWarnings = false
285283
```
286284

287285
Note that doing so will cause *all* tools (including Javac itself) to begin issuing

0 commit comments

Comments
 (0)