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.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/DataPlain.java b/test/transform/resource/after-ecj/DataPlain.java
index 7cb60148..4dbac075 100644
--- a/test/transform/resource/after-ecj/DataPlain.java
+++ b/test/transform/resource/after-ecj/DataPlain.java
@@ -179,6 +179,13 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java
public @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
return (other instanceof Data5);
}
+ public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
+ int result = 1;
+ return result;
+ }
+ public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
+ return "Data5()";
+ }
}
final @Data class Data6 {
public @java.lang.SuppressWarnings("all") Data6() {
@@ -191,4 +198,11 @@ final @Data class Data6 {
return false;
return true;
}
+ public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
+ int result = 1;
+ return result;
+ }
+ public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
+ return "Data6()";
+ }
} \ No newline at end of file