diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2020-06-10 10:18:15 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-06-11 21:19:23 +0200 |
commit | a2941041d4d4b3db2a12a38212226f36c11219ab (patch) | |
tree | d0e313ad808cf21b5072dbfa3eb59f88ea907a6f /test/transform/resource/after-ecj | |
parent | 51216bed0e723598fa26677ffc3ea0c8d2c3150d (diff) | |
download | lombok-a2941041d4d4b3db2a12a38212226f36c11219ab.tar.gz lombok-a2941041d4d4b3db2a12a38212226f36c11219ab.tar.bz2 lombok-a2941041d4d4b3db2a12a38212226f36c11219ab.zip |
[fixes #2481] Copy constructor javadoc to builder methods
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderConstructorJavadoc.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/BuilderConstructorJavadoc.java b/test/transform/resource/after-ecj/BuilderConstructorJavadoc.java new file mode 100644 index 00000000..bb3916e8 --- /dev/null +++ b/test/transform/resource/after-ecj/BuilderConstructorJavadoc.java @@ -0,0 +1,40 @@ +import java.util.List; +class BuilderConstructorJavadoc<T> { + public static class BuilderConstructorJavadocBuilder<T> { + private @java.lang.SuppressWarnings("all") int basic; + private @java.lang.SuppressWarnings("all") int multiline; + private @java.lang.SuppressWarnings("all") int predef; + private @java.lang.SuppressWarnings("all") int predefWithJavadoc; + public BuilderConstructorJavadocBuilder<T> predef(final int x) { + this.predef = x; + return this; + } + public BuilderConstructorJavadocBuilder<T> predefWithJavadoc(final int x) { + this.predefWithJavadoc = x; + return this; + } + @java.lang.SuppressWarnings("all") BuilderConstructorJavadocBuilder() { + super(); + } + public @java.lang.SuppressWarnings("all") BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T> basic(final int basic) { + this.basic = basic; + return this; + } + public @java.lang.SuppressWarnings("all") BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T> multiline(final int multiline) { + this.multiline = multiline; + return this; + } + public @java.lang.SuppressWarnings("all") BuilderConstructorJavadoc<T> build() { + return new BuilderConstructorJavadoc<T>(this.basic, this.multiline, this.predef, this.predefWithJavadoc); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (((((((("BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder(basic=" + this.basic) + ", multiline=") + this.multiline) + ", predef=") + this.predef) + ", predefWithJavadoc=") + this.predefWithJavadoc) + ")"); + } + } + @lombok.Builder BuilderConstructorJavadoc(int basic, int multiline, int predef, int predefWithJavadoc) { + super(); + } + public static @java.lang.SuppressWarnings("all") <T>BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T> builder() { + return new BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T>(); + } +}
\ No newline at end of file |