diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-06-01 16:39:10 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-06-01 16:39:10 +0200 |
commit | ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2 (patch) | |
tree | 2f6495d724e2b34d9e2b87db79dd042c0010655e /test/transform/resource/after-ecj | |
parent | a7e3d5070eb0116e5b80e4f8a96d176a2127fc19 (diff) | |
download | lombok-ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2.tar.gz lombok-ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2.tar.bz2 lombok-ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2.zip |
When generating javadoc for setters, a @return this is added if needed.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/GetterSetterJavadoc.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/GetterSetterJavadoc.java b/test/transform/resource/after-ecj/GetterSetterJavadoc.java index 21841d47..275b408d 100644 --- a/test/transform/resource/after-ecj/GetterSetterJavadoc.java +++ b/test/transform/resource/after-ecj/GetterSetterJavadoc.java @@ -57,4 +57,30 @@ class GetterSetterJavadoc3 { public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") void setFieldName(final int fieldName) { this.fieldName = fieldName; } +} +@lombok.experimental.Accessors(chain = true,fluent = true) class GetterSetterJavadoc4 { + private @lombok.Getter @lombok.Setter int fieldName; + GetterSetterJavadoc4() { + super(); + } + public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int fieldName() { + return this.fieldName; + } + public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") GetterSetterJavadoc4 fieldName(final int fieldName) { + this.fieldName = fieldName; + return this; + } +} +@lombok.experimental.Accessors(chain = true,fluent = true) class GetterSetterJavadoc5 { + private @lombok.Getter @lombok.Setter int fieldName; + GetterSetterJavadoc5() { + super(); + } + public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int fieldName() { + return this.fieldName; + } + public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") GetterSetterJavadoc5 fieldName(final int fieldName) { + this.fieldName = fieldName; + return this; + } }
\ No newline at end of file |