aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/AccessorsConfiguration.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-01-20 01:45:48 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-01-20 01:46:01 +0100
commitd1899a81e95bdc69955aa593be905be0ff77043e (patch)
tree114f7af33ea57ca4042b431f317bfc5c216a27c8 /test/transform/resource/before/AccessorsConfiguration.java
parente5dc6203c8dd2ac51594c8dd73945bb62c7fe047 (diff)
downloadlombok-d1899a81e95bdc69955aa593be905be0ff77043e.tar.gz
lombok-d1899a81e95bdc69955aa593be905be0ff77043e.tar.bz2
lombok-d1899a81e95bdc69955aa593be905be0ff77043e.zip
[test] Missing after-X files used to be an implicit 'just ignore the content' signal; now you need an explicit directive to allow this behaviour.
[configuration] added tests for @Accessors configuration key implementations.
Diffstat (limited to 'test/transform/resource/before/AccessorsConfiguration.java')
-rw-r--r--test/transform/resource/before/AccessorsConfiguration.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/before/AccessorsConfiguration.java b/test/transform/resource/before/AccessorsConfiguration.java
new file mode 100644
index 00000000..187fd393
--- /dev/null
+++ b/test/transform/resource/before/AccessorsConfiguration.java
@@ -0,0 +1,20 @@
+//CONF: lombok.Accessors.prefix += m_
+//CONF: lombok.Accessors.prefix += f
+//CONF: lombok.Accessors.chain = false
+
+class AccessorsConfiguration {
+ @lombok.Getter @lombok.Setter @lombok.experimental.Accessors(fluent=true)
+ private String m_FieldName = "";
+}
+
+@lombok.experimental.Accessors(prefix = {})
+class AccessorsConfiguration2 {
+ @lombok.Setter
+ private String m_FieldName = "";
+}
+
+@lombok.experimental.Accessors(chain = true)
+class AccessorsConfiguration3 {
+ @lombok.Setter
+ private String fFieldName = "";
+}