From 91ba41de340e0f2ef963f3ae5a796baac16501de Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Tue, 19 Jan 2021 16:26:20 -0800 Subject: [PATCH] -XepDisableWarningsInGeneratedCode now supports all annotations named @Generated https://github.com/google/error-prone/issues/1863 --- docs/flags.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/flags.md b/docs/flags.md index f989102a391..63444dc9f80 100644 --- a/docs/flags.md +++ b/docs/flags.md @@ -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