diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2021-03-21 05:24:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-21 05:24:46 +0100 |
commit | 8e23c10a999e08c37b83cdd51dac5f224a1394cd (patch) | |
tree | 7e900ab2aca0705017ab0f35b32cdba742979caa /test/transform/resource/after-ecj | |
parent | fb455f4634a673d1c28a82caed18c4a171466335 (diff) | |
parent | 70951d4dd7eb82500bb8de98749ae136d9a38d78 (diff) | |
download | lombok-8e23c10a999e08c37b83cdd51dac5f224a1394cd.tar.gz lombok-8e23c10a999e08c37b83cdd51dac5f224a1394cd.tar.bz2 lombok-8e23c10a999e08c37b83cdd51dac5f224a1394cd.zip |
Merge pull request #2725 from md-5/master
[fixes #2724] Increase priority of Builder annotation removal
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderAccessWithGetter.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/BuilderAccessWithGetter.java b/test/transform/resource/after-ecj/BuilderAccessWithGetter.java new file mode 100644 index 00000000..7ad5fa6a --- /dev/null +++ b/test/transform/resource/after-ecj/BuilderAccessWithGetter.java @@ -0,0 +1,35 @@ +import lombok.AccessLevel; +import lombok.Builder; +import lombok.Getter; +public final @Builder(access = AccessLevel.PRIVATE) class BuilderAccessWithGetter { + private static @java.lang.SuppressWarnings("all") class BuilderAccessWithGetterBuilder { + private @java.lang.SuppressWarnings("all") String string; + @java.lang.SuppressWarnings("all") BuilderAccessWithGetterBuilder() { + super(); + } + /** + * @return {@code this}. + */ + private @java.lang.SuppressWarnings("all") BuilderAccessWithGetter.BuilderAccessWithGetterBuilder string(final String string) { + this.string = string; + return this; + } + private @java.lang.SuppressWarnings("all") BuilderAccessWithGetter build() { + return new BuilderAccessWithGetter(this.string); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("BuilderAccessWithGetter.BuilderAccessWithGetterBuilder(string=" + this.string) + ")"); + } + } + private final @Getter String string; + @java.lang.SuppressWarnings("all") BuilderAccessWithGetter(final String string) { + super(); + this.string = string; + } + private static @java.lang.SuppressWarnings("all") BuilderAccessWithGetter.BuilderAccessWithGetterBuilder builder() { + return new BuilderAccessWithGetter.BuilderAccessWithGetterBuilder(); + } + public @java.lang.SuppressWarnings("all") String getString() { + return this.string; + } +} |