diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-01-20 01:44:40 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-01-20 01:46:01 +0100 |
commit | 8a1e0d03ae96b529daa26df188cb8779ea22c997 (patch) | |
tree | 754981e9c0d9fea71f99a650c09846b0659734b2 /src/core/lombok/ConfigurationKeys.java | |
parent | 5be1c574d62f2b5328114dcee49dd0f22b54664f (diff) | |
download | lombok-8a1e0d03ae96b529daa26df188cb8779ea22c997.tar.gz lombok-8a1e0d03ae96b529daa26df188cb8779ea22c997.tar.bz2 lombok-8a1e0d03ae96b529daa26df188cb8779ea22c997.zip |
[configuration] Added all the @Accessors stuff as a configuration key.
[refactor] Merged TransformationsUtil and HandlerUtil
Diffstat (limited to 'src/core/lombok/ConfigurationKeys.java')
-rw-r--r-- | src/core/lombok/ConfigurationKeys.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/lombok/ConfigurationKeys.java b/src/core/lombok/ConfigurationKeys.java index 021ca5e6..3e8de5a9 100644 --- a/src/core/lombok/ConfigurationKeys.java +++ b/src/core/lombok/ConfigurationKeys.java @@ -21,6 +21,8 @@ */ package lombok; +import java.util.List; + import lombok.core.FlagUsageType; import lombok.core.configuration.ConfigurationKey; @@ -262,6 +264,27 @@ public class ConfigurationKeys { */ public static final ConfigurationKey<FlagUsageType> ACCESSORS_FLAG_USAGE = new ConfigurationKey<FlagUsageType>("lombok.Accessors.flagUsage") {}; + /** + * lombok configuration: {@code lombok.Accessors.prefix} += <String: prefix>. + * + * For any class without an {@code @Accessors} that explicitly defines the {@code prefix} option, this list of prefixes is used. + */ + public static final ConfigurationKey<List<String>> ACCESSORS_PREFIX = new ConfigurationKey<List<String>>("lombok.Accessors.prefix") {}; + + /** + * lombok configuration: {@code lombok.Accessors.chain} += {@code true} | {@code false}. + * + * For any class without an {@code @Accessors} that explicitly defines the {@code chain} option, this value is used. + */ + public static final ConfigurationKey<Boolean> ACCESSORS_CHAIN = new ConfigurationKey<Boolean>("lombok.Accessors.chain") {}; + + /** + * lombok configuration: {@code lombok.Accessors.fluent} += {@code true} | {@code false}. + * + * For any class without an {@code @Accessors} that explicitly defines the {@code fluent} option, this value is used. + */ + public static final ConfigurationKey<Boolean> ACCESSORS_FLUENT = new ConfigurationKey<Boolean>("lombok.Accessors.fluent") {}; + // ----- Builder ----- /** |