diff options
Diffstat (limited to 'test/transform/resource/after-ecj')
3 files changed, 55 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/Constructors.java b/test/transform/resource/after-ecj/Constructors.java index 540c2407..a4597ce6 100644 --- a/test/transform/resource/after-ecj/Constructors.java +++ b/test/transform/resource/after-ecj/Constructors.java @@ -70,4 +70,11 @@ public static @java.lang.SuppressWarnings("all") <T extends Number>RequiredArgsConstructorStaticNameGenerics2<T> of(final Class<T> x) { return new RequiredArgsConstructorStaticNameGenerics2<T>(x); } +} +@lombok.AllArgsConstructor(access = lombok.AccessLevel.PACKAGE) class AllArgsConstructorPackageAccess { + final String x; + @java.lang.SuppressWarnings("all") AllArgsConstructorPackageAccess(final String x) { + super(); + this.x = x; + } }
\ No newline at end of file diff --git a/test/transform/resource/after-ecj/ConstructorsConfiguration.java b/test/transform/resource/after-ecj/ConstructorsConfiguration.java new file mode 100644 index 00000000..b55d3e03 --- /dev/null +++ b/test/transform/resource/after-ecj/ConstructorsConfiguration.java @@ -0,0 +1,14 @@ +@lombok.AllArgsConstructor class ConstructorsConfiguration { + int x; + public @java.lang.SuppressWarnings("all") ConstructorsConfiguration(final int x) { + super(); + this.x = x; + } +} +@lombok.AllArgsConstructor(suppressConstructorProperties = false) class ConstructorsConfigurationExplicit { + int x; + public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") ConstructorsConfigurationExplicit(final int x) { + super(); + this.x = x; + } +} diff --git a/test/transform/resource/after-ecj/DataConfiguration.java b/test/transform/resource/after-ecj/DataConfiguration.java new file mode 100644 index 00000000..f2733a88 --- /dev/null +++ b/test/transform/resource/after-ecj/DataConfiguration.java @@ -0,0 +1,34 @@ +@lombok.Data class DataConfiguration { + final int x; + public @java.lang.SuppressWarnings("all") int getX() { + return this.x; + } + public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { + if ((o == this)) + return true; + if ((! (o instanceof DataConfiguration))) + return false; + final @java.lang.SuppressWarnings("all") DataConfiguration other = (DataConfiguration) o; + if ((! other.canEqual((java.lang.Object) this))) + return false; + if ((this.getX() != other.getX())) + return false; + return true; + } + protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) { + return (other instanceof DataConfiguration); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() { + final int PRIME = 59; + int result = 1; + result = ((result * PRIME) + this.getX()); + return result; + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("DataConfiguration(x=" + this.getX()) + ")"); + } + public @java.lang.SuppressWarnings("all") DataConfiguration(final int x) { + super(); + this.x = x; + } +} |