diff options
author | Jan Rieke <rieke@subshell.com> | 2018-06-01 10:50:26 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-06-01 10:50:26 +0200 |
commit | 51c0c40ac422ddd2828bb0ec79e252e85f1511c9 (patch) | |
tree | fbb8780fb966e0e75fc36050b13cad18bae71ce7 /src/core/lombok/ConfigurationKeys.java | |
parent | 32bed51fede1eebef2006d54b3e364de22ae9ac0 (diff) | |
download | lombok-51c0c40ac422ddd2828bb0ec79e252e85f1511c9.tar.gz lombok-51c0c40ac422ddd2828bb0ec79e252e85f1511c9.tar.bz2 lombok-51c0c40ac422ddd2828bb0ec79e252e85f1511c9.zip |
handle experimental flag usage
Diffstat (limited to 'src/core/lombok/ConfigurationKeys.java')
-rw-r--r-- | src/core/lombok/ConfigurationKeys.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/lombok/ConfigurationKeys.java b/src/core/lombok/ConfigurationKeys.java index 29c43d3f..ade86e27 100644 --- a/src/core/lombok/ConfigurationKeys.java +++ b/src/core/lombok/ConfigurationKeys.java @@ -508,6 +508,15 @@ public class ConfigurationKeys { */ public static final ConfigurationKey<FlagUsageType> WITHER_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.wither.flagUsage", "Emit a warning or error if @Wither is used.") {}; + // ----- SuperBuilder ----- + + /** + * lombok configuration: {@code lombok.superBuilder.flagUsage} = {@code WARNING} | {@code ERROR}. + * + * If set, <em>any</em> usage of {@code @SuperBuilder} results in a warning / error. + */ + public static final ConfigurationKey<FlagUsageType> SUPERBUILDER_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.superBuilder.flagUsage", "Emit a warning or error if @SuperBuilder is used.") {}; + // ----- Configuration System ----- /** |