aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/DataPlain.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/DataPlain.java')
-rw-r--r--test/transform/resource/after-ecj/DataPlain.java25
1 files changed, 12 insertions, 13 deletions
diff --git a/test/transform/resource/after-ecj/DataPlain.java b/test/transform/resource/after-ecj/DataPlain.java
index 858f46dd..eaeef509 100644
--- a/test/transform/resource/after-ecj/DataPlain.java
+++ b/test/transform/resource/after-ecj/DataPlain.java
@@ -16,7 +16,7 @@ import lombok.Data;
return true;
if ((! (o instanceof Data1)))
return false;
- final @java.lang.SuppressWarnings("all") Data1 other = (Data1) o;
+ final Data1 other = (Data1) o;
if ((! other.canEqual((java.lang.Object) this)))
return false;
if ((this.getX() != other.getX()))
@@ -35,13 +35,13 @@ import lombok.Data;
int result = 1;
result = ((result * PRIME) + this.getX());
final java.lang.Object $name = this.getName();
- result = ((result * PRIME) + (($name == null) ? 0 : $name.hashCode()));
+ result = ((result * PRIME) + (($name == null) ? 43 : $name.hashCode()));
return result;
}
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
return (((("Data1(x=" + this.getX()) + ", name=") + this.getName()) + ")");
}
- public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data1(final int x) {
+ public @java.lang.SuppressWarnings("all") Data1(final int x) {
super();
this.x = x;
}
@@ -63,7 +63,7 @@ import lombok.Data;
return true;
if ((! (o instanceof Data2)))
return false;
- final @java.lang.SuppressWarnings("all") Data2 other = (Data2) o;
+ final Data2 other = (Data2) o;
if ((! other.canEqual((java.lang.Object) this)))
return false;
if ((this.getX() != other.getX()))
@@ -82,13 +82,13 @@ import lombok.Data;
int result = 1;
result = ((result * PRIME) + this.getX());
final java.lang.Object $name = this.getName();
- result = ((result * PRIME) + (($name == null) ? 0 : $name.hashCode()));
+ result = ((result * PRIME) + (($name == null) ? 43 : $name.hashCode()));
return result;
}
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
return (((("Data2(x=" + this.getX()) + ", name=") + this.getName()) + ")");
}
- public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data2(final int x) {
+ public @java.lang.SuppressWarnings("all") Data2(final int x) {
super();
this.x = x;
}
@@ -110,7 +110,7 @@ final @Data class Data3 {
return true;
if ((! (o instanceof Data3)))
return false;
- final @java.lang.SuppressWarnings("all") Data3 other = (Data3) o;
+ final Data3 other = (Data3) o;
if ((this.getX() != other.getX()))
return false;
final java.lang.Object this$name = this.getName();
@@ -124,13 +124,13 @@ final @Data class Data3 {
int result = 1;
result = ((result * PRIME) + this.getX());
final java.lang.Object $name = this.getName();
- result = ((result * PRIME) + (($name == null) ? 0 : $name.hashCode()));
+ result = ((result * PRIME) + (($name == null) ? 43 : $name.hashCode()));
return result;
}
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
return (((("Data3(x=" + this.getX()) + ", name=") + this.getName()) + ")");
}
- public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data3(final int x) {
+ public @java.lang.SuppressWarnings("all") Data3(final int x) {
super();
this.x = x;
}
@@ -154,7 +154,7 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java
return true;
if ((! (o instanceof Data4)))
return false;
- final @java.lang.SuppressWarnings("all") Data4 other = (Data4) o;
+ final Data4 other = (Data4) o;
if ((! other.canEqual((java.lang.Object) this)))
return false;
if ((! super.equals(o)))
@@ -168,8 +168,7 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java
}
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
final int PRIME = 59;
- int result = 1;
- result = ((result * PRIME) + super.hashCode());
+ int result = super.hashCode();
result = ((result * PRIME) + this.getX());
return result;
}
@@ -180,7 +179,7 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java
return true;
if ((! (o instanceof Data5)))
return false;
- final @java.lang.SuppressWarnings("all") Data5 other = (Data5) o;
+ final Data5 other = (Data5) o;
if ((! other.canEqual((java.lang.Object) this)))
return false;
return true;