From 63ea3db6b7ab41ff945cad1ec8af7f78b5679f66 Mon Sep 17 00:00:00 2001 From: ttzn Date: Sat, 26 Dec 2020 13:13:24 +0100 Subject: @StandardException feature working draft * annotation with javac and Eclipse handlers * single test file --- src/core/lombok/ConfigurationKeys.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/lombok/ConfigurationKeys.java') diff --git a/src/core/lombok/ConfigurationKeys.java b/src/core/lombok/ConfigurationKeys.java index ba66649b..b8cd442a 100644 --- a/src/core/lombok/ConfigurationKeys.java +++ b/src/core/lombok/ConfigurationKeys.java @@ -695,4 +695,10 @@ public class ConfigurationKeys { */ public static final ConfigurationKey CHECKER_FRAMEWORK = new ConfigurationKey("checkerframework", "If set with the version of checkerframework.org (in major.minor, or just 'true' for the latest supported version), create relevant checkerframework.org annotations for code lombok generates (default: false).") {}; + /** + * lombok configuration: {@code lombok.standardException.flagUsage} = {@code WARNING} | {@code ERROR}. + * + * If set, any usage of {@code @StandardException} results in a warning / error. + */ + public static final ConfigurationKey STANDARD_EXCEPTION_FLAG_USAGE = new ConfigurationKey("lombok.standardException.flagUsage", "Emit a warning or error if @StandardException is used.") {}; } -- cgit