aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/ConfigurationKeys.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-04-05 14:22:40 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-04-05 14:22:40 +0200
commitb6fb3c03fa35db3423ea4274f35d2c77859a3286 (patch)
tree4e34a00e9684baedba46fdf635e5382679c2188d /src/core/lombok/ConfigurationKeys.java
parent2c93d336c1d694a286b53710cbeaa01339ba3f1c (diff)
downloadlombok-b6fb3c03fa35db3423ea4274f35d2c77859a3286.tar.gz
lombok-b6fb3c03fa35db3423ea4274f35d2c77859a3286.tar.bz2
lombok-b6fb3c03fa35db3423ea4274f35d2c77859a3286.zip
[fieldNameConstants] code review, docs, tests, fixup.
Diffstat (limited to 'src/core/lombok/ConfigurationKeys.java')
-rw-r--r--src/core/lombok/ConfigurationKeys.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lombok/ConfigurationKeys.java b/src/core/lombok/ConfigurationKeys.java
index 29c43d3f..7efe20bd 100644
--- a/src/core/lombok/ConfigurationKeys.java
+++ b/src/core/lombok/ConfigurationKeys.java
@@ -499,6 +499,14 @@ public class ConfigurationKeys {
*/
public static final ConfigurationKey<FlagUsageType> UTILITY_CLASS_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.utilityClass.flagUsage", "Emit a warning or error if @UtilityClass is used.") {};
+ // ----- FieldNameConstants -----
+ /**
+ * lombok configuration: {@code lombok.fieldNameConstants.flagUsage} = {@code WARNING} | {@code ERROR}.
+ *
+ * If set, <em>any</em> usage of {@code @FieldNameConstants} results in a warning / error.
+ */
+ public static final ConfigurationKey<FlagUsageType> FIELD_NAME_CONSTANTS_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.fieldNameConstants.flagUsage", "Emit a warning or error if @FieldNameConstants is used.") {};
+
// ----- Wither -----
/**