Skip to content

Commit

Permalink
-XepDisableWarningsInGeneratedCode now supports all annotations named @…
Browse files Browse the repository at this point in the history
  • Loading branch information
cushon committed Jan 20, 2021
1 parent 5fd7753 commit 91ba41d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ There are also a few blanket severity-changing flags:
* `-XepAllDisabledChecksAsWarnings`
* `-XepDisableAllChecks`
* `-XepDisableAllWarnings`
* `-XepDisableWarningsInGeneratedCode` : Disables warnings in classes annotated with
`@javax.annotation.Generated` or `@javax.annotation.processing.Generated`
* `-XepDisableWarningsInGeneratedCode` : Disables warnings in classes annotated with `@Generated`

With any of the blanket flags, you can pass additional flags afterward to
tweak the level of individual checks. E.g., this flag combination disables
Expand Down

0 comments on commit 91ba41d

Please sign in to comment.