aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/EqualsAndHashCodeOfAndExclude.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/EqualsAndHashCodeOfAndExclude.java')
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeOfAndExclude.java46
1 files changed, 46 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeOfAndExclude.java b/test/transform/resource/after-delombok/EqualsAndHashCodeOfAndExclude.java
new file mode 100644
index 00000000..8b9888e9
--- /dev/null
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeOfAndExclude.java
@@ -0,0 +1,46 @@
+final class EqualsAndHashCodeOf {
+ int x;
+ int y;
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public boolean equals(final java.lang.Object o) {
+ if (o == this) return true;
+ if (!(o instanceof EqualsAndHashCodeOf)) return false;
+ final EqualsAndHashCodeOf other = (EqualsAndHashCodeOf) o;
+ if (this.x != other.x) return false;
+ return true;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = result * PRIME + this.x;
+ return result;
+ }
+}
+final class EqualsAndHashCodeExclude {
+ int x;
+ int y;
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public boolean equals(final java.lang.Object o) {
+ if (o == this) return true;
+ if (!(o instanceof EqualsAndHashCodeExclude)) return false;
+ final EqualsAndHashCodeExclude other = (EqualsAndHashCodeExclude) o;
+ if (this.x != other.x) return false;
+ return true;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = result * PRIME + this.x;
+ return result;
+ }
+}