diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-01-20 01:45:48 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-01-20 01:46:01 +0100 |
commit | d1899a81e95bdc69955aa593be905be0ff77043e (patch) | |
tree | 114f7af33ea57ca4042b431f317bfc5c216a27c8 /test/transform/resource/after-ecj/AccessorsConfiguration.java | |
parent | e5dc6203c8dd2ac51594c8dd73945bb62c7fe047 (diff) | |
download | lombok-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/after-ecj/AccessorsConfiguration.java')
-rw-r--r-- | test/transform/resource/after-ecj/AccessorsConfiguration.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/AccessorsConfiguration.java b/test/transform/resource/after-ecj/AccessorsConfiguration.java new file mode 100644 index 00000000..6678e020 --- /dev/null +++ b/test/transform/resource/after-ecj/AccessorsConfiguration.java @@ -0,0 +1,31 @@ +class AccessorsConfiguration { + private @lombok.Getter @lombok.Setter @lombok.experimental.Accessors(fluent = true) String m_FieldName = ""; + AccessorsConfiguration() { + super(); + } + public @java.lang.SuppressWarnings("all") String fieldName() { + return this.m_FieldName; + } + public @java.lang.SuppressWarnings("all") void fieldName(final String m_FieldName) { + this.m_FieldName = m_FieldName; + } +} +@lombok.experimental.Accessors(prefix = {}) class AccessorsConfiguration2 { + private @lombok.Setter String m_FieldName = ""; + AccessorsConfiguration2() { + super(); + } + public @java.lang.SuppressWarnings("all") void setM_FieldName(final String m_FieldName) { + this.m_FieldName = m_FieldName; + } +} +@lombok.experimental.Accessors(chain = true) class AccessorsConfiguration3 { + private @lombok.Setter String fFieldName = ""; + AccessorsConfiguration3() { + super(); + } + public @java.lang.SuppressWarnings("all") AccessorsConfiguration3 setFieldName(final String fFieldName) { + this.fFieldName = fFieldName; + return this; + } +} |