diff options
author | Werner Dietl <wdietl@gmail.com> | 2018-08-30 23:18:33 -0400 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-09-11 01:59:19 +0200 |
commit | cd8434feee79c6e119de0a254e071c6c49a8938e (patch) | |
tree | f469a2239db9e592016154512ecb63f5439d872e /test/transform/resource | |
parent | 65fc9897b3c2183cef305a71cf6b064fb9756253 (diff) | |
download | lombok-cd8434feee79c6e119de0a254e071c6c49a8938e.tar.gz lombok-cd8434feee79c6e119de0a254e071c6c49a8938e.tar.bz2 lombok-cd8434feee79c6e119de0a254e071c6c49a8938e.zip |
Eclipse expected output.
Diffstat (limited to 'test/transform/resource')
10 files changed, 178 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/BuilderTypeAnnosCopy.java b/test/transform/resource/after-ecj/BuilderTypeAnnosCopy.java new file mode 100644 index 00000000..8dfc8164 --- /dev/null +++ b/test/transform/resource/after-ecj/BuilderTypeAnnosCopy.java @@ -0,0 +1,31 @@ +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +@lombok.Builder class BuilderTypeAnnos { + public static @java.lang.SuppressWarnings("all") class BuilderTypeAnnosBuilder { + private @java.lang.SuppressWarnings("all") List<String> foo; + @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder() { + super(); + } + public @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder foo(final @TA List<String> foo) { + this.foo = foo; + return this; + } + public @java.lang.SuppressWarnings("all") BuilderTypeAnnos build() { + return new BuilderTypeAnnos(foo); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("BuilderTypeAnnos.BuilderTypeAnnosBuilder(foo=" + this.foo) + ")"); + } + } + private @TA List<@TA String> foo; + @java.lang.SuppressWarnings("all") BuilderTypeAnnos(final @TA List<String> foo) { + super(); + this.foo = foo; + } + public static @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder builder() { + return new BuilderTypeAnnosBuilder(); + } +} diff --git a/test/transform/resource/after-ecj/BuilderTypeAnnosNoCopy.java b/test/transform/resource/after-ecj/BuilderTypeAnnosNoCopy.java new file mode 100644 index 00000000..a2dfcc2f --- /dev/null +++ b/test/transform/resource/after-ecj/BuilderTypeAnnosNoCopy.java @@ -0,0 +1,31 @@ +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +@lombok.Builder class BuilderTypeAnnos { + public static @java.lang.SuppressWarnings("all") class BuilderTypeAnnosBuilder { + private @java.lang.SuppressWarnings("all") List<String> foo; + @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder() { + super(); + } + public @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder foo(final List<String> foo) { + this.foo = foo; + return this; + } + public @java.lang.SuppressWarnings("all") BuilderTypeAnnos build() { + return new BuilderTypeAnnos(foo); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("BuilderTypeAnnos.BuilderTypeAnnosBuilder(foo=" + this.foo) + ")"); + } + } + private @TA List<@TA String> foo; + @java.lang.SuppressWarnings("all") BuilderTypeAnnos(final List<String> foo) { + super(); + this.foo = foo; + } + public static @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder builder() { + return new BuilderTypeAnnosBuilder(); + } +} diff --git a/test/transform/resource/after-ecj/ConstructorsTypeAnnosCopy.java b/test/transform/resource/after-ecj/ConstructorsTypeAnnosCopy.java new file mode 100644 index 00000000..ad372fc9 --- /dev/null +++ b/test/transform/resource/after-ecj/ConstructorsTypeAnnosCopy.java @@ -0,0 +1,12 @@ +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +@lombok.AllArgsConstructor class ConstructorsTypeAnnos { + @TA List<@TA String> foo; + public @java.lang.SuppressWarnings("all") ConstructorsTypeAnnos(final @TA List<String> foo) { + super(); + this.foo = foo; + } +} diff --git a/test/transform/resource/after-ecj/ConstructorsTypeAnnosNoCopy.java b/test/transform/resource/after-ecj/ConstructorsTypeAnnosNoCopy.java new file mode 100644 index 00000000..ce4b1b3b --- /dev/null +++ b/test/transform/resource/after-ecj/ConstructorsTypeAnnosNoCopy.java @@ -0,0 +1,12 @@ +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +@lombok.AllArgsConstructor class ConstructorsTypeAnnos { + @TA List<@TA String> foo; + public @java.lang.SuppressWarnings("all") ConstructorsTypeAnnos(final List<String> foo) { + super(); + this.foo = foo; + } +} diff --git a/test/transform/resource/after-ecj/GetterTypeAnnosCopy.java b/test/transform/resource/after-ecj/GetterTypeAnnosCopy.java new file mode 100644 index 00000000..1b4f03c5 --- /dev/null +++ b/test/transform/resource/after-ecj/GetterTypeAnnosCopy.java @@ -0,0 +1,15 @@ +import lombok.Getter; +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +class GetterTypeAnnos { + @Getter @TA List<@TA String> foo; + GetterTypeAnnos() { + super(); + } + public @TA @java.lang.SuppressWarnings("all") List<String> getFoo() { + return this.foo; + } +} diff --git a/test/transform/resource/after-ecj/GetterTypeAnnosNoCopy.java b/test/transform/resource/after-ecj/GetterTypeAnnosNoCopy.java new file mode 100644 index 00000000..a43d3215 --- /dev/null +++ b/test/transform/resource/after-ecj/GetterTypeAnnosNoCopy.java @@ -0,0 +1,15 @@ +import lombok.Getter; +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +class GetterTypeAnnos { + @Getter @TA List<@TA String> foo; + GetterTypeAnnos() { + super(); + } + public @java.lang.SuppressWarnings("all") List<String> getFoo() { + return this.foo; + } +} diff --git a/test/transform/resource/after-ecj/SetterTypeAnnosCopy.java b/test/transform/resource/after-ecj/SetterTypeAnnosCopy.java new file mode 100644 index 00000000..ef290cbf --- /dev/null +++ b/test/transform/resource/after-ecj/SetterTypeAnnosCopy.java @@ -0,0 +1,15 @@ +import lombok.Setter; +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +class SetterTypeAnnos { + @Setter @TA List<@TA String> foo; + SetterTypeAnnos() { + super(); + } + public @java.lang.SuppressWarnings("all") void setFoo(final @TA List<String> foo) { + this.foo = foo; + } +} diff --git a/test/transform/resource/after-ecj/SetterTypeAnnosNoCopy.java b/test/transform/resource/after-ecj/SetterTypeAnnosNoCopy.java new file mode 100644 index 00000000..17e27782 --- /dev/null +++ b/test/transform/resource/after-ecj/SetterTypeAnnosNoCopy.java @@ -0,0 +1,15 @@ +import lombok.Setter; +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +class SetterTypeAnnos { + @Setter @TA List<@TA String> foo; + SetterTypeAnnos() { + super(); + } + public @java.lang.SuppressWarnings("all") void setFoo(final List<String> foo) { + this.foo = foo; + } +} diff --git a/test/transform/resource/after-ecj/WitherTypeAnnosCopy.java b/test/transform/resource/after-ecj/WitherTypeAnnosCopy.java new file mode 100644 index 00000000..b4f3c687 --- /dev/null +++ b/test/transform/resource/after-ecj/WitherTypeAnnosCopy.java @@ -0,0 +1,16 @@ +import lombok.experimental.Wither; +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +class WitherTypeAnnos { + final @Wither @TA List<@TA String> foo; + WitherTypeAnnos(@TA List<@TA String> foo) { + super(); + this.foo = foo; + } + public @java.lang.SuppressWarnings("all") WitherTypeAnnos withFoo(final @TA List<String> foo) { + return ((this.foo == foo) ? this : new WitherTypeAnnos(foo)); + } +} diff --git a/test/transform/resource/after-ecj/WitherTypeAnnosNoCopy.java b/test/transform/resource/after-ecj/WitherTypeAnnosNoCopy.java new file mode 100644 index 00000000..4f0b0710 --- /dev/null +++ b/test/transform/resource/after-ecj/WitherTypeAnnosNoCopy.java @@ -0,0 +1,16 @@ +import lombok.experimental.Wither; +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; +import java.util.List; +@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA { +} +class WitherTypeAnnos { + final @Wither @TA List<@TA String> foo; + WitherTypeAnnos(@TA List<@TA String> foo) { + super(); + this.foo = foo; + } + public @java.lang.SuppressWarnings("all") WitherTypeAnnos withFoo(final List<String> foo) { + return ((this.foo == foo) ? this : new WitherTypeAnnos(foo)); + } +} |