aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/ConfigurationKeys.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-27 00:15:02 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-02-15 07:23:10 +0100
commita991bebe41bd5037323f682301a5fe77ea89b7b9 (patch)
treeda92cd6868cf07b25ac91642d859d865ed43cbb9 /src/core/lombok/ConfigurationKeys.java
parentd08229a58007da1968aa86b4dd4a3a9a21a7b578 (diff)
downloadlombok-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.java9
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 -----
/**