diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-08-27 00:15:02 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-15 07:23:10 +0100 |
commit | a991bebe41bd5037323f682301a5fe77ea89b7b9 (patch) | |
tree | da92cd6868cf07b25ac91642d859d865ed43cbb9 /src/core/lombok/ConfigurationKeys.java | |
parent | d08229a58007da1968aa86b4dd4a3a9a21a7b578 (diff) | |
download | lombok-a991bebe41bd5037323f682301a5fe77ea89b7b9.tar.gz lombok-a991bebe41bd5037323f682301a5fe77ea89b7b9.tar.bz2 lombok-a991bebe41bd5037323f682301a5fe77ea89b7b9.zip |
[issue #2368] [withBy] support for javac
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 49613fc4..32c1f714 100644 --- a/src/core/lombok/ConfigurationKeys.java +++ b/src/core/lombok/ConfigurationKeys.java @@ -643,6 +643,15 @@ public class ConfigurationKeys { */ public static final ConfigurationKey<FlagUsageType> SUPERBUILDER_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.superBuilder.flagUsage", "Emit a warning or error if @SuperBuilder is used.") {}; + // ----- WithBy ----- + + /** + * lombok configuration: {@code lombok.withBy.flagUsage} = {@code WARNING} | {@code ERROR}. + * + * If set, <em>any</em> usage of {@code @WithBy} results in a warning / error. + */ + public static final ConfigurationKey<FlagUsageType> WITHBY_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.withBy.flagUsage", "Emit a warning or error if @WithBy is used.") {}; + // ----- Configuration System ----- /** |