diff options
Diffstat (limited to 'test/transform/resource/after-ecj')
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)); + } +} |