From b6fb3c03fa35db3423ea4274f35d2c77859a3286 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 5 Apr 2018 14:22:40 +0200 Subject: [fieldNameConstants] code review, docs, tests, fixup. --- src/core/lombok/ConfigurationKeys.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/core/lombok/ConfigurationKeys.java') 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 UTILITY_CLASS_FLAG_USAGE = new ConfigurationKey("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, any usage of {@code @FieldNameConstants} results in a warning / error. + */ + public static final ConfigurationKey FIELD_NAME_CONSTANTS_FLAG_USAGE = new ConfigurationKey("lombok.fieldNameConstants.flagUsage", "Emit a warning or error if @FieldNameConstants is used.") {}; + // ----- Wither ----- /** -- cgit